Jump to content
Not connected, Your IP: 18.118.33.130
Sign in to follow this  
pretori

NAS behind Asus running Merlin - portforwarding

Recommended Posts

Hi

 

For several day now I have tried to get my torrent port on my Synology running the latest build to listen to incoming traffic ports. I have tried both download station an rtorrent. But I never seem to get the port forwarding to work in the router from the tun11 to the local adress.

 

My setup: NAS - Asus n66u running latest Merlin with Airvpn open VPN tunnel. Remote port forwarding made on Airvpn account.

 

In my NAS I have opened the ports I got from airvpn. In the router the port forwarding is made in the jffs. From tun11. After reading every post om this forum it still doesn't work. And now I don't now what to do.

 

Any suggestion?

 

 

Skickat från min SM-G900F via Tapatalk

Share this post


Link to post

Hi again, the last input leaved out the config as is today.

 

rTorrent i set up to listen to port 8997-8998.

The firewall in Synology is set upp to have 8997-8998 ports open.

 

Asus - firewall-start

 

#!/bin/sh
 
sleep 4
 
iptables -I FORWARD -i br0 -o tun12 -j ACCEPT
iptables -I FORWARD -i tun12 -o br0 -j ACCEPT
iptables -I FORWARD ! -o tun12 -s 192.168.1.3 -j DROP
iptables -I INPUT -i tun12 -j REJECT
iptables -t nat -A POSTROUTING -o tun12 -j MASQUERADE
 
Asus - net-start
 
#!/bin/sh
 
iptables -I FORWARD -i tun12 -p udp -d 192.168.1.3 --dport 8997 -j ACCEPT
iptables -I FORWARD -i tun12 -p udp -d 192.168.1.3 --dport 8998 -j ACCEPT
iptables -I FORWARD -i tun12 -p tcp -d 192.168.1.3 --dport 8997 -j ACCEPT
iptables -I FORWARD -i tun12 -p tcp -d 192.168.1.3 --dport 8998 -j ACCEPT
iptables -t nat -I PREROUTING -i tun12 -p tcp --dport 8997 -j DNAT --to-destination 192.168.1.3
iptables -t nat -I PREROUTING -i tun12 -p tcp --dport 8998 -j DNAT --to-destination 192.168.1.3
iptables -t nat -I PREROUTING -i tun12 -p udp --dport 8997 -j DNAT --to-destination 192.168.1.3
iptables -t nat -I PREROUTING -i tun12 -p udp --dport 8998 -j DNAT --to-destination 192.168.1.3
 
 
I also have policy rules set in the Open VPN tab on the asus.
 
 
In AirVPN the ports 8997-8998 is set as local ports in the remote port forwarding.
 
I get error 110 on the port forwarding page at AirVPN
 
My torrents are not able to connect to the tracker.
 
 

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