G
G
groroman2015-01-07 00:42:57
linux
groroman, 2015-01-07 00:42:57

Need help with iptables: how to redirect all outgoing traffic to a specific interface?

Hello, you need to make sure that all outgoing traffic on the server goes through a specific interface, what iptables rules are best to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tgz, 2015-01-07
@groroman

In general, iptables is not needed for this. Need something like
ip r a default via x.x.x.x

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question