Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh bootstrap install fails after openvpn server setup - 17.7.r2 #1742

Closed
alowva opened this issue Jul 27, 2017 · 10 comments
Closed

Fresh bootstrap install fails after openvpn server setup - 17.7.r2 #1742

alowva opened this issue Jul 27, 2017 · 10 comments
Labels
support Community support

Comments

@alowva
Copy link

alowva commented Jul 27, 2017

Hi,

This is my first time using OPNsense and im having a problem that I have been able to replicate with the following steps.

Starting with a fresh install of FreeBSD 11.0 Release AMD64 and using the opnsense-bootstrap.sh downloaded from this github I upgrade to OPNsense and everything seems to be working fine, get through the wizard and can setup ssh access on the WAN, though i havent tried much else.

The problem comes when trying to setup a OpenVPN server through the WebUI, once the server is setup and pressing 'finish' after a few seconds the webui becomes inaccessible and ssh was also blocked from WAN.

A reboot does not fix this and I cant find the location of the logs to check what went wrong

I have no LAN interface as this is a remote KVM VPS, I thought perhaps the Firewall had closed all ports, hence why I cant access the Webui or SSH.

I cant find a way to downgrade to a stable version of 17.1 so if anyone could advise I would try that myself.

Thanks

@fichtner
Copy link
Member

Hi @alowva,

Do you use the wizard to set up the server?

How many interfaces have you assigned?

Cheers,
Franco

@alowva
Copy link
Author

alowva commented Jul 27, 2017

I used the wizard to setup both the opnsense server and the openvpn server.

I have em0 setup as the wan interface, forgot to mention i have to set this up through the console as WAN and DHCP.
the only other interfaces are enc0, lo0, pflog0, pfsync0, and ovpns1 (which i guess is the newly created openvpn interface)

@fichtner
Copy link
Member

just for reproducing.. which openvpn port did you set?

@alowva
Copy link
Author

alowva commented Jul 27, 2017

Everything was default, though i made up what was needed any not already filled out (private IP addressing etc)

@fichtner
Copy link
Member

fichtner commented Jul 27, 2017

It may be because of the WAN-only type setup, but will reproduce to be sure. Thanks for the info. :)

@alowva
Copy link
Author

alowva commented Jul 27, 2017

is there anyway i can use the bootstrap to install 17.1.11?

@fichtner
Copy link
Member

fichtner commented Jul 27, 2017

Sure, you can set -V for the bootstrap argument:

# ./opnsense-bootstrap.sh -V 17.1

Cheers,
Franco

@alowva
Copy link
Author

alowva commented Jul 27, 2017

it seems like it does the same on 17.1.11, but i could access the webui for at least a minute this time

@alowva
Copy link
Author

alowva commented Jul 28, 2017

this is the firewall log when trying to connect to the webui http://imgur.com/a/3PDto

EDIT: appologies for the screenshot rather than paste, i only have VNC access

@fichtner fichtner self-assigned this Dec 15, 2017
@fichtner fichtner added the support Community support label Dec 15, 2017
@fichtner fichtner removed their assignment Dec 15, 2017
@fichtner
Copy link
Member

So this happens when you bind OpenVPN to LAN/TCP/443 when you are accessing the WebGUI from LAN/TCP/443. I agree that this should be prevented in the future, but from a support perspective it's easy to avoid this. You can move the GUI out of the way (away from port 443) or use a dedicated management interface with 18.1 when strict interface binding for the GUI is added. See #1347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants