Posted: Thu Jul 05, 2018 12:34 Post subject: OpenVPN and Transmission ?
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
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.