search for: isp2_ip

Displaying 5 results from an estimated 5 matches for "isp2_ip".

Did you mean: isp1_ip
2004 Jul 08
1
Help with dual internet connection
...er satellite. This is a portion of my firewall script ip route flush table 3 2> /dev/null ip rule delete table 3 2> /dev/null ip route add table 3 127.0.0.0/8 dev lo scope link ip route add table 3 89.0.0.0/8 dev eth0 scope link ip rule add fwmark 3 table 3 ip route add table 3 default via $isp2_ip dev eth3 ip route flush cache iptables -t mangle -A PREROUTING -p tcp -s $ip_set2 --dport $http -j MARK --set-mark 3 iptables -t mangle -A PREROUTING -p tcp --dport $ftp -j MARK --set-mark 3 iptables -t nat -A POSTROUTING -o $isp1_if -j SNAT --to-source $isp1_ip iptables -t nat -A POSTROUTING -o $i...
2004 Aug 03
0
Second isp failure with dual internet connection
Below is a snippet from my firewall script isp1_ip="xx.0.5.20" isp1_gw="xx.0.5.1" isp1_net="xx.0.5.0/28" isp1_if="eth2" isp2_ip="xx.182.19.88" isp2_gw="xx.182.19.1" isp2_net="xx.182.19.0/28" isp2_if="eth3" lo_ip="127.0.0.1" lo_if="lo" lo_net="127.0.0.1/8" ip rule delete from $isp1_ip ip rule delete from $isp2_ip ip route delet...
2004 Aug 05
0
URGENT HELP needed!! Problem with second route dual ISP
Below is a snippet from my firewall script isp1_ip="xx.0.5.20" isp1_gw="xx.0.5.1" isp1_net="xx.0.5.0/28" isp1_if="eth2" isp2_ip="xx.182.19.88" isp2_gw="xx.182.19.1" isp2_net="xx.182.19.0/28" isp2_if="eth3" lo_ip="127.0.0.1" lo_if="lo" lo_net="127.0.0.1/8" ip rule delete from $isp1_ip ip rule delete from $isp2_ip ip route delete table 5 #...
2013 Jun 21
1
MultiISP.html documentation improvements
...oing out with the wrong address. So if I use tcrules to cause all traffic to use one provider, I necessarily have to masq the firewall generated outgoing traffic when a packet goes out an ISP link, but has the other ISP source IP. I put in masq two rows like this: INTERFACE SOURCE ADDRESS $IF_ISP1 $ISP2_IP $ISP1_IP $IF_ISP2 $ISP1_IP $ISP2_IP Exactly the same issue happens when you use tcrules to direct a particular application through either one of the ISP, and the solution is the same. This problem does not exist if you use rtrules instead of tcrules to direct traffic to one of the providers. This...
2007 Sep 25
1
Local server unreachable by remote lan in dual isp configuration
...# 255 local 254 main 253 default 0 unspec 100 isp2 101 isp1 # # local # #1 inr.ruhep This is the iproute script: ISP1_NET="x.x.x.192/29" ISP1_IP="x.x.x.195" ISP1_GW="x.x.x.193" ISP1_IF="bad0" ISP2_NET="x.x.x.96/29" ISP2_IP="x.x.x.98" ISP2_GW="x.x.x.97" ISP2_IF="bad1" DMZ_NET="192.168.0.0/24" DMZ_IF="dmz0" LAN_NET="10.0.0.0/24" LAN_IF="lan0" SERVER_MAIL="10.0.0.50" SERVER_1="10.0.0.10" SERVER_2="10.0.0.2" SERVER_3=&q...