On 1/24/20 9:54 AM, sean darcy wrote:
I'm trying to set up a dmz between my internal network and the router.
Interface A for internal, interface B for the router. How do I make sure
the default route is set to interface B ?
Hi Sean,
I can give you the manual method for ipv4.
For traffic to cross between the two interfaces forwarding must be
enabled. That is done in sysctl.conf
net.ipv4.ip_forward=1
Then the default route is assigned to the router interface:
ip route add default via <gateway_ip> dev <router_interface>
Very straight forward.
HTH
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx