Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Simon Hobson
Tom Eastep wrote: >>You need four additional SPD entries: >> >>Traffic from site1->site2 use tunnel from site1 to fw >>Traffic from site1->site2 use tunnel from fw to site2 >>Traffic from site2->site1 use tunnel from site2 to fw >>Traffic from site2->site1 use tunnel from fw to site1 >> > >But not

Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Tom Eastep
Tom Eastep wrote: You need four additional SPD entries: Traffic from site1->site2 use tunnel from site1 to fw Traffic from site1->site2 use tunnel from fw to site2 Traffic from site2->site1 use tunnel from site2 to fw Traffic from site2->site1 use tunnel from fw to site1 But note that if yo

Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Tom Eastep
Alan Madill wrote: Tom Eastep wrote: Tom Eastep wrote: Alan Madill wrote: Hi, I want to connect two satellite offices to a main office using openswan and ipsec vpn. SatSite1 --- Main --- SatSite2 192.168.30.0/24 --- 1.1.1.1 --- 2.2.2.2 --- 192.168.20.0/24 --- 2.2.2.2 --- 3.3.3.3 --- 1

Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Alan Madill
Tom Eastep wrote: > Tom Eastep wrote: >> Alan Madill wrote: >>> Hi, >>> >>> I want to connect two satellite offices to a main office using >>> openswan and ipsec vpn. >>> SatSite1 --- Main --- SatSite2 >>> 192.168.30.0/24 --- 1.1.1.1 --- 2.2.2.2 --- 192.168.20.0/24 --- >>> 2.2.2.2 --- 3.3.3

Re: [Shorewall-users] host allowing the guest access to the internet

2008-04-15 Thread Tom Eastep
mess-mate wrote: Tom Eastep wrote: mess-mate wrote: Hi, can anybody help me translate this iptable to a shorewall rule : iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP Host ip = xx.xx.xx.xx, guest ip subnet is yy.yy.yy.yy/255.255.255.0 * What problem are you tryin

Re: [Shorewall-users] host allowing the guest access to the internet

2008-04-15 Thread mess-mate
Tom Eastep wrote: > mess-mate wrote: >> Hi, >> >> can anybody help me translate this iptable to a shorewall rule : >> >> iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP >> >> Host ip = xx.xx.xx.xx, guest ip subnet is yy.yy.yy.yy/255.255.255.0 >> * > > What problem are you

Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Tom Eastep
Tom Eastep wrote: Alan Madill wrote: Hi, I want to connect two satellite offices to a main office using openswan and ipsec vpn. SatSite1 --- Main --- SatSite2 192.168.30.0/24 --- 1.1.1.1 --- 2.2.2.2 --- 192.168.20.0/24 --- 2.2.2.2 --- 3.3.3.3 --- 192.168.25.0/24 Where 1.1.1.1, 2.2.2.2, a

Re: [Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Tom Eastep
Alan Madill wrote: Hi, I want to connect two satellite offices to a main office using openswan and ipsec vpn. SatSite1 --- Main --- SatSite2 192.168.30.0/24 --- 1.1.1.1 --- 2.2.2.2 --- 192.168.20.0/24 --- 2.2.2.2 --- 3.3.3.3 --- 192.168.25.0/24 Where 1.1.1.1, 2.2.2.2, and 3.3.3.3 are th

[Shorewall-users] Routing to multiple sites with ipsec vpns

2008-04-15 Thread Alan Madill
Hi, I want to connect two satellite offices to a main office using openswan and ipsec vpn. SatSite1 --- Main --- SatSite2 192.168.30.0/24 --- 1.1.1.1 --- 2.2.2.2 --- 192.168.20.0/24 --- 2.2.2.2 --- 3.3.3.3 --- 192.168.25.0/24 Where 1.1.1.1, 2.2.2.2, and 3.3.3.3 are the public ip addresses

Re: [Shorewall-users] host allowing the guest access to the internet

2008-04-15 Thread Tom Eastep
mess-mate wrote: Hi, can anybody help me translate this iptable to a shorewall rule : iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP Host ip = xx.xx.xx.xx, guest ip subnet is yy.yy.yy.yy/255.255.255.0 * What problem are you trying to solve? I would be surprised if y

Re: [Shorewall-users] can't solve this reject

2008-04-15 Thread Martin Leben
mess-mate wrote: > Hi, > > i can't solve this reject : > > serv kernel: Shorewall:dmz2all:REJECT:IN=eth1 OUT= > MAC=00:e0:29:3c:34:bd:00:a0:cc:3f:48:3e:08:00 SRC=192.168.20.254 > DST=192.168.30.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP > TYPE=8 CODE=0 ID=61822 SEQ=2 > > > This messa

[Shorewall-users] can't solve this reject

2008-04-15 Thread mess-mate
Hi, i can't solve this reject : serv kernel: Shorewall:dmz2all:REJECT:IN=eth1 OUT= MAC=00:e0:29:3c:34:bd:00:a0:cc:3f:48:3e:08:00 SRC=192.168.20.254 DST=192.168.30.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=61822 SEQ=2 This message is coming from 192.168.20. (the host

[Shorewall-users] host allowing the guest access to the internet

2008-04-15 Thread mess-mate
Hi, can anybody help me translate this iptable to a shorewall rule : iptables -t NAT -A POSTROUTING -s GUEST_IP -j SNAT --to-source HOST_IP Host ip = xx.xx.xx.xx, guest ip subnet is yy.yy.yy.yy/255.255.255.0 * *Thanks in advance. * * -- mess-mate