exclude specific port

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
lolop
OpenVpn Newbie
Posts: 2
Joined: Sat Jan 28, 2017 4:43 pm

exclude specific port

Post by lolop » Sat Jan 28, 2017 4:52 pm

Hello,

I am an amateur administrator and here is my small problem.
  I have a machine that connects on a vpn with NetworkManager. This machine runs a relay tor and so I would like the port tor (9001 and 9030) not to pass through the vpn (tun0) but not my physical network interface.

Iptables rules could solve the problem?
In thanking you

lolop
OpenVpn Newbie
Posts: 2
Joined: Sat Jan 28, 2017 4:43 pm

Re: exclude specific port

Post by lolop » Sun Jan 29, 2017 7:14 pm

You should look at the tor configuration file and the OutboundBindAddress dirrective to apply the correct address of the interface connected to the net.

Post Reply