Displaying 2 results from an estimated 2 matches for "internet_gatewayip_here".
2019 Mar 05
2
getent not working after installing firewall
Am 05.03.19 um 00:22 schrieb Mark Foley via samba:
> /etc/resolv.conf:
> nameserver 192.168.0.2
> nameserver 209.18.47.62
>
> /etc/hosts:
> 127.0.0.1 localhost
> 192.168.0.60 ccarter
>
> So, the gateway is the Sonicwall firewall, 192.168.0.1. Nameservers are the DC (192.168.0.2)
> and one of the ISP name servers. The IP is static and is set
2019 Mar 05
4
getent not working after installing firewall
...p ip route add 127.0.0.0/8 dev lo table OfficeLan
post-down ip rule del from 192.168.0.236 table OfficeLan
# The secondary network interface ETH1 ( WAN )
allow-hotplug eth1
iface eth1 inet static
address internet_IP_HERE/xx
post-up ip route add internet_IP_HERE/XX dev eth1 src internet_GATEWAYIP_HERE table InternetWan
post-up ip route add default via internet_GATEWAYIP_HERE table InternetWan
post-up ip rule add from internet_IP_HERE/XX table InternetWan
post-up ip route add 127.0.0.0/8 dev lo table InternetWan
post-down ip rule del from internet_IP_HERE table Int...