Jump to content
Not connected, Your IP: 216.73.217.99
Ausfahrt

How do you get vlan2 (br1) to connect to the VPN?

Recommended Posts

Using Tomato Router Toastman build v1.28 VPN, VLAN version

 

 

How do you get vlan2 to connect to the VPN.  I can connect to the VPN through   bro Vlan 1 (192.168.1.1)  just fine, but not on Vlan 2 192.168.2.1

 

 

 

10points to the first one who can answer this

 

 

 

 

 

Share this post


Link to post

Old thread I know, but I was searching for something else related to Tomato and saw this and happened to know the answer...

 

Add:

iptables -t nat -I POSTROUTING -s 192.168.2.0/255.255.255.0 -o tun11 -j MASQUERADE
iptables -I FORWARD -i br1 -o tun11 -j ACCEPT
iptables -I FORWARD -i tun11 -o br1 -j ACCEPT
iptables -I INPUT -i tun11 -j REJECT
iptables -t nat -A POSTROUTING -o tun11 -j MASQUERADE

To Admin -> Scripts -> Firewall

 

Tomato doesn't add the required rules for your other bridges automatically, only for br0.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...