OpenVPN and Transmission ?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
gabrielra
DD-WRT Novice


Joined: 21 May 2015
Posts: 30

PostPosted: Thu Jul 05, 2018 12:34    Post subject: OpenVPN and Transmission ? Reply with quote
Hi,

I have an issue with my setup.

I'm using OpenVPN for my whole network.
But I'm not connectable (port closed) on Transmission (in-built on firmware).
Same happens with uTorrent if I'm using from computer on my network.

My setup :

- ISP modem (192.168.1.254)
- DDWRT (192.168.2.1) with OpenVPN client (10.8.0.6)
- VPS with OpenVPN.

Settings on server.conf

Quote:
push "redirect-gateway def1 bypass-dhcp"

push "dhcp-option DNS 208.67.222.222"

push "dhcp-option DNS 208.67.220.220"

keepalive 10 120


Iptables

Quote:


sudo iptables -I FORWARD -i tun0 -j ACCEPT

sudo iptables -I FORWARD -o tun0 -j ACCEPT

sudo iptables -I OUTPUT -o tun0 -j ACCEPT

sudo iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

sudo iptables -t nat -A POSTROUTING -s 10.8.0.2/24 -o eth0 -j MASQUERADE


I think this is an issue with port forward or something. There is a way to forward all ports on the router ? And then using UPnP on router ?

Or it is something else ?

Thanks
Sponsor
portsup
DD-WRT User


Joined: 20 Oct 2018
Posts: 210

PostPosted: Sat Oct 20, 2018 23:31    Post subject: Reply with quote
Use PBR policy based routing in Openvpn section so that the routers main ip is not on the VPN. You can then specify which parts of your network go through VPN and use your local vpn ip for transmission with bind address.

Look at my post https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313661&start=30 for more info or ideas.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum