I have 2 network cards, I need one of them to be used for work and the other is an open public network.
I'd like to use the work network card for ssh only:
hutber@hutber-blade ~ $ sudo iptables -S | grep enx9cebe863eaa8 -A INPUT -i enx9cebe863eaa8 -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT ! -i enx9cebe863eaa8 -p tcp -m tcp --dport 22 -j
I have setup the following rules, but once I enable
enx9cebe863eaa8 all network traffic goes through this card.