note: the IP address cannot be the same as your Nas4Free!!! It also cannot be in the DHCP scope for your network, either.
Googled more info, edited rc.conf, but I am still stuck.
I DO NOT HAVE ANY INTERNET CONNECTIVITY ONCE INSIDE JAIL



Code: Select all
JID IP Address Hostname Path
15 192.168.1.61 Apache.local /jails/Apache



Code: Select all
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 68:05:ca:12:b1:1c
inet 192.168.0.61 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: activeCode: Select all
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 68:05:ca:12:b1:1c
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: activeCode: Select all
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 68:05:ca:12:b1:1c
inet 192.168.0.16 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.1.61 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.0.61 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active 

I think you are right but if you only want to run torrents over VPN, maybe you can try;chrisf4lc0n wrote:If I run VPN within the jail, only that jail will be behind VPN network, right? It means that the Transmission running outside the jail will still have my home IP, correct me if I am wrong.

Code: Select all
ifconfig tun create

Not, this way not work.chrisf4lc0n wrote: @alexey123
Should I just add:
/bin/sh ifconfig tap create
into the Jail Start Command?
Code: Select all
/mnt/<mount>/<path>/<to>/thebrig/<jailname>/etc/rcLighttpd must work! I'll check issue today1. Apache server to configure reverse proxy for btsync.