Jump to content
Not connected, Your IP: 18.116.28.79
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...