2 Gateways or Multiple Gateway on a single CentOS box Rumi, May 21, 2015 Scenerio- eth0- 172.30.0.100 | Gateway- 172.30.0.97 eth1- 192.168.2.247 | Gateway- 192.168.2.1 Need to connect to SIP BOX destination (fictitious)- 202.140.1.1 eth0 has not internet access but it uses the mentioned (172.30.0.97) as gateway to reach 202.140.1.1 server eth0 has internet access by using 192.168.2.1 gateway. Here goes the configuration on /etc/sysconfig/network-scripts/ifcfg-eth0 # Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth0 BOOTPROTO=static BROADCAST=172.30.0.103 DHCPCLASS= HWADDR=08:00:27:E6:A6:62 IPADDR=172.30.0.100 NETMASK=255.255.255.248 NETWORK=172.30.0.96 ONBOOT=yes ip route add 202.40.1.1/32 via 172.30.0.97 Here goes the configuration on /etc/sysconfig/network-scripts/ifcfg-eth1 # Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth1 BOOTPROTO=static BROADCAST=192.168.2.255 HWADDR=08:00:27:86:40:CD IPADDR=192.168.2.247 NETMASK=255.255.255.0 NETWORK=192.168.2.0 ONBOOT=yes Configuration on /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=16426 #GATEWAY=172.30.0.97 GATEWAY=192.168.2.1 Configuration on /etc/resolv.conf (Your DNS Server)- #nameserver 8.8.8.8 nameserver 114.130.5.5 nameserver 114.130.5.6 Related Administrations Configurations (Linux) CentOSiprouteMultiple Gateway
Dissection of SPF (Sender Policy Framework)- A way to configure your DNS server SPF parameters September 26, 2010 Pick a default. SPF domains have to publish at least two directives: a version identifier and a default mechanism. mydomain.com. TXT “v=spf1 -all” This is the simplest possible SPF record: it means your domain mydomain.com never sends mail. It makes sense to do this when a domain is only used… Read More
Make shinobi start up after reboot December 16, 2021 pm2 start plugins/motion/shinobi-motion.js pm2 start camera.js to start up automatically after reboot Related Read More
Allow Ping on PFSense WAN interface September 9, 2022 This article shows you how to allow ##ping## on the WAN side of your pfSense firewall. By default, ping to WAN address is disabled on pfSense for security reason. However, you may want to allow ping for different reasons, here is how: # Login to pfSense # Open Firewall >… Read More