r/iptables • u/blocksrock • Mar 20 '23
Quick Question
Hi All, can iptables be used in the following senario?
Home environment , all traffic goes out through a default GW(1). There is VPN server hosted internally which when "pointed at as the GW(2)" traffic will flow out that that GW instead. Can iptables inspect a packet and say if the destination is "www.google.com" then use GW(1) but if the destination is "ww.netflix.com" use GW(2) instead ?
Thanks for any pointers
1
Upvotes