Jump to content
Not connected, Your IP: 3.141.19.115
itsuki2020

Trouble with Port Forwarding on DD-WRT

Recommended Posts

I am trying to run services behind AirVPN on ports 3637 and 15744.

The way my network is configured is as followed. I have a modem, which goes into my main router, which is not behind a VPN. A secondary router is connected to my main router, running DD-WRT and is configured to run AirVPN. This seems to be working properly as the devices connected to the secondary router show a public ip belonging to AirVPN. To forward the ports, I ran the following commands.

iptables -I FORWARD -i tun1 -p udp -d 192.168.99.15 --dport 3637 -j ACCEPT
iptables -I FORWARD -i tun1 -p tcp -d 192.168.99.15 --dport 3637 -j ACCEPT
iptables -t nat -I PREROUTING -i tun1 -p tcp --dport 3637 -j DNAT --to-destination 192.168.99.15
iptables -t nat -I PREROUTING -i tun1 -p udp --dport 3637 -j DNAT --to-destination 192.168.99.15
iptables -I FORWARD -i tun1 -p udp -d 192.168.99.15 --dport 15744 -j ACCEPT
iptables -I FORWARD -i tun1 -p tcp -d 192.168.99.15 --dport 15744 -j ACCEPT
iptables -t nat -I PREROUTING -i tun1 -p tcp --dport 15744 -j DNAT --to-destination 192.168.99.15
iptables -t nat -I PREROUTING -i tun1 -p udp --dport 15744 -j DNAT --to-destination 192.168.99.15

However, port checking tools like canyouseeme cannot see my services, and I am unable to accept incoming connections. Any help would be greatly appreciated.

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...