Jump to content
Not connected, Your IP: 3.144.242.20
Sign in to follow this  
tehhellhound

VPN to VPN port forwarding

Recommended Posts

I am having an issue. All is well connecting to your VPN service with my R8000 with Tomato and routing clients. I tested your port forwarding by making my router admin interface remotely accessible and it works great with this firewall script

iptables -I FORWARD -i tun11 -p tcp -d 192.168.1.1 --dport 443 -j ACCEPT

iptables -t nat -I PREROUTING -i tun11 -p tcp --dport 443 -j DNAT --to-destination 192.168.1.1

So now I try to setup a VPN on router to access resources on my local network. The VPN runs and I use the same formula with a second port forward, but my packets never reach the server

iptables -I FORWARD -i tun11 -p tcp -d 192.168.1.1 --dport 8008 -j ACCEPT

iptables -t nat -I PREROUTING -i tun11 -p tcp --dport 8008 -j DNAT --to-destination 192.168.1.1

 

Anything I can do to make this work?

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
Sign in to follow this  

×
×
  • Create New...