Jump to content
Not connected, Your IP: 18.117.78.215
Sign in to follow this  
chiwou

Port Forwarding and DD-WRT

Recommended Posts

HI! I'm new to AirVPN and VPN generally, I managed with help from the Tut to get the OpenVPN running on my DD-WRT router after I downgraded to the old stable release.

But now I got a small problem with my Torrent client.

I created a port in the member area and changed the port in my Torrent client, but do I need to open the port on my router, because now I got this error message if I check the port:

"Not reachable on server IP over the external port xxxxx, tcp protocol. Error : 111 - Connection refused"

and my Client says too that the port is closed...

Thanks and take care

Share this post


Link to post

Hi, im trying to setup the exact same thing and ive been banging my head all week trying to get the forwards working to no avail. I assume you tinkered with the firewall script using IPTABLES? Would you be so kind to paste your firewall script so I can see where I might be going wrong. This is mine so far:

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT iptables -I FORWARD -i tun0 -o br0 -j ACCEPT iptables -I INPUT -i tun0 -j REJECT

iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

iptables -t nat -I PREROUTING -i tun0 -p tcp --dport 53540 -j DNAT --to-destination 192.168.1.3:4080

iptables -t nat -I PREROUTING -i tun0 -p udp --dport 53540 -j DNAT --to-destination 192.168.1.3:4080

I've obviously created the necessary port forward on the airvpn page.

Regards

Share this post


Link to post

sorry but I'm currently not at home, but I think

iptables -t nat -I PREROUTING -i tun0 -p tcp --dport 53540 -j DNAT --to-destination 192.168.1.3:4080

iptables -t nat -I PREROUTING -i tun0 -p udp --dport 53540 -j DNAT --to-destination 192.168.1.3:4080

you should remove the ports to your destination ips

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