Hi
I have a default route to 192.168.1.1 as soon as I start shorewall the
default route dissapear. What do I need to do to have it not disappear.
Kind Regards
My network setup
/etc/network/interfaces:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.17
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameserver 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.254.5
netmask 255.255.255.0
network 192.168.254.0
broadcast 192.168.254.255
# eth2 - Link to Server Inside Network
auto eth2
iface eth2 inet static
address 192.168.253.2
netmask 255.255.255.252
network 192.168.253.0
broadcast 192.168.253.3
up route add -net 192.168.253.0 netmask 255.255.255.252 gw
192.168.253.1
down route del -net 192.168.253.0 netmask 255.255.255.252 gw
192.168.253.1
root@TestServer:/etc/shorewall# cat providers
#
# Shorewall version 4 - Providers File
#
# For information about entries in this file, type "man
shorewall-providers"
#
# For additional information, see http://shorewall.net/MultiISP.html
#
############################################################################
################
#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY
OPTIONS COPY
ll 1 1 - eth1:192.168.254.5
192.168.254.1 track,loose,balance -
sg 2 2 - eth1:192.168.254.5
192.168.254.3 track,loose -
act 3 3 - eth1:192.168.254.5
192.168.254.4 track,loose -
root@TestServer:/etc/shorewall# cat route_rules
#
# Shorewall version 4 - route_rules File
#
# For information about entries in this file, type "man
shorewall-route_rules"
#
# For additional information, see http://www.shorewall.net/MultiISP.html
############################################################################
########
#SOURCE DEST PROVIDER PRIORITY
MASK
- 10.0.0.0/8 ll 1000
- 10.0.0.0/8 sg 1000
- 172.18.0.0/22 act 1000
root@TestServer:/etc/shorewall# cat tcrules
#
# Shorewall version 4 - Tcrules File
#
# For information about entries in this file, type "man
shorewall-tcrules"
#
# See http://shorewall.net/traffic_shaping.htm for additional information.
# For usage in selecting among multiple ISPs, see
# http://shorewall.net/MultiISP.html
#
# See http://shorewall.net/PacketMarking.html for a detailed description of
# the Netfilter/Shorewall packet marking mechanism.
############################################################################
##########################################
#MARK SOURCE DEST PROTO DEST SOURCE USER TEST
LENGTH TOS CONNBYTES HELPER
# PORT(S) PORT(S)
1:P eth0 - tcp 22120
2:P eth0 - tcp 22122
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today''s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On 06/13/2012 01:57 AM, Jan van der Vyver wrote:> Hi > > I have a default route to 192.168.1.1 as soon as I start shorewall the > default route dissapear. What do I need to do to have it not disappear. >What is the setting of USE_DEFAULT_RT in your configuration? What version of Shorewall are you running? -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Hi USE_DEFAULT_RT=Yes as you suggested and 4.4.26.1 Regards Jan -----Original Message----- From: Tom Eastep [mailto:teastep@shorewall.net] Sent: 13 June 2012 03:23 PM To: shorewall-users@lists.sourceforge.net Subject: Re: [Shorewall-users] Default Route disappear On 06/13/2012 01:57 AM, Jan van der Vyver wrote:> Hi > > I have a default route to 192.168.1.1 as soon as I start shorewall the > default route dissapear. What do I need to do to have it not disappear. >What is the setting of USE_DEFAULT_RT in your configuration? What version of Shorewall are you running? -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
On 6/13/12 6:40 AM, Jan van der Vyver wrote:> Hi USE_DEFAULT_RT=Yes as you suggested and 4.4.26.1 >Then the default route is in the ''balance'' table, not the ''main'' table. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today''s security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/