Hi Guys
I have just put my host server behind OpenVPN, but now I am trying to work out how to add a jailed server to the virtual LAN.
Here is the output of ifconfig
From what I have read I thought that I could simply add this line to the the jailed servers config:
/etc/rc.conf
Then
Followed by
But after doing this I still can not contact the jailed server over the VPN.
Here is the output of ifconfig on the jailed server after doing the above:
What have I done wrong?
Thanks for your time
I have just put my host server behind OpenVPN, but now I am trying to work out how to add a jailed server to the virtual LAN.
Here is the output of ifconfig
Code:
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:bd:7f:e5:12:00
inet 192.168.254.1 netmask 0xffffff00 broadcast 192.168.254.255
Opened by PID 95424
From what I have read I thought that I could simply add this line to the the jailed servers config:
/etc/rc.conf
Code:
ifconfig_tap0="inet 192.168.254.2 netmask 255.255.255.0"
Then
Code:
#/etc/rc.d/netif restart
Followed by
Code:
#/etc/rc.d/routing restart
But after doing this I still can not contact the jailed server over the VPN.
Here is the output of ifconfig on the jailed server after doing the above:
Code:
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 00:bd:7f:e5:12:00
Opened by PID 95424
What have I done wrong?
Thanks for your time
