Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (21 sloc) 0.832 kB

Espian Xnet

Welcome to the source repository for the Espian Xnet.

Dev Environment

During development, the frontend can be accessed at https://xnet.dev.

To set this up, add the following line to /etc/hosts:

127.0.0.1        xnet.dev

On OS X 10.10+, forward ports 80 and 443 with:

echo "
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
" | sudo pfctl -ef -

You can reset the port forwarding with:

sudo pfctl -F all -f /etc/pf.conf

And check the current state using:

sudo pfctl -s nat

If you want to have the SSL cert trusted in Chrome, drag the cert image to the Desktop, open the saved cert, add it as trusted to the Login Keychain, and restart Chrome.

Jump to Line
Something went wrong with that request. Please try again.