1

UID based routing doesn't work

view story
linux-howto

http://www.linuxquestions.org – I have a 12.04 LTS server with two NICs. They are connected to different networks. Code: # ip route list table main default via 192.168.1.254 dev eth0 192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.30 192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.30 I created another table for the other network (VPN) Code: # ip route list table VPN default via 192.168.2.1 dev eth1 192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.30 Then configured iptables to mark the packets from UID 108. Code: #ip (HowTos)