chiwou 2 Posted ... 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 Quote Share this post Link to post
Staff 9972 Posted ... Hello! You can achieve your purpose with DNAT, please see here: https://airvpn.org/index.php?option=com_kunena&func=view&catid=3&id=2849&Itemid=142#4695 Kind regards Quote Share this post Link to post
chiwou 2 Posted ... but I still need to forward the ports on my router, right? 1 wasseen456 reacted to this Quote Share this post Link to post
chiwou 2 Posted ... nevermind, works great, had to study a little bit the dd-wrt help Quote Share this post Link to post
h3avpns3nt 3 Posted ... 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 Quote Share this post Link to post
chiwou 2 Posted ... 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 Quote Share this post Link to post