Displaying 4 results from an estimated 4 matches for "isp1_if".
Did you mean:
isp1_ip
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 fr...
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...
2004 Jul 08
1
Help with dual internet connection
...nk
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 $isp2_if -j SNAT --to-source $isp2_ip
iptables -A FORWARD -i $lan_if -j ACCEPT
iptables -A INPUT -p ALL -d $isp2_ip -m state --state ESTABLISHED,RELATED -j
ACCEPT
iptables -A INPUT -p ALL -d $isp1_ip1 -m state --state ESTABLISHED,RELATE...
2007 Sep 25
1
Local server unreachable by remote lan in dual isp configuration
...details.
cat /etc/iproute2/rt_tables
#
# reserved values
#
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=&quo...