0

i have a running vpnc connection from my arch-linux device. All traffic goes through the tunnel to the vpnc server.

But i need to exclude the 443 port, because a running https server need to be reachable from the local internet connection.

There is thread with just the same requirements. But this isn't working to me. Routing port traffic over specific interface

All traffic still goes through the tun0 device.

i've no experience with routing ... maybe anyone can give me a hint?

May network interface is: enp1s0 The vpnc network device is: tun0 Device IP: 192.168.2.10 Router IP: 192.168.2.1

#route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 0.0.0.0 0.0.0.0 U 0 0 0 tun0 i577B2E95.versa 192.168.2.1
255.255.255.255 UGH 0 0 0 enp1s0 192.168.2.0 0.0.0.0 255.255.255.0 U 100 0 0 enp1s0

1
  • I think (never done): you tag the 443 traffic with iptables, and you route differently by tag Commented Aug 11 at 12:57

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.