Forcing a Jail to use VPN

Status
Not open for further replies.

afmiller

Contributor
Joined
Dec 11, 2013
Messages
106
Hello, I have hit a stumbling block. I am trying to force a jail to use tun0. I have set up in rc.conf that the firewall is enabled, as well in /media is where the firewall table is located. Within the table I have

add 01000 allow all from any to any via tun0
add 01100 allow all from 192.168.1.0/24 to 192.168.1.0/24
add 02200 deny ip from any to any uid transmission

From my understanding this will force all data out tun0 and I can stay within my LAN. I turn on the firewall, and I get this

http://pastebin.com/7Fz8ecra

For some reason I am still getting my non vpn ip address. What steps am I missing? I've tried to flush the tables and redo it with no luck.
 
Status
Not open for further replies.
Top