On 09/14/2010 09:31 AM, David López Zajara (Er_Maqui) wrote:
> Well,
> 
> My actual running configuration are these:
> zones:
> PPTP    ipv4

> interfaces:
> PPTP    ppp+

You need to add the 'routeback' option on this entry. That will eliminate
this problem:

Sep 14 18:28:07 FORWARD:REJECT:IN=ppp0 OUT=ppp2 SRC=192.168.101.202
DST=192.168.100.1 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=ICMP TYPE=8
CODE=0 ID=2628 SEQ=2

> policy:
> PPTP            all             ACCEPT
> 
> The hosts file are empty. I doesn't change the ip addresses because these
> lines are from shorewall manual, i've tried with them. But on the moment of
> writing the mail, these config are disabled.
> 
> I'm attaching the dump.

That leaves these:

Sep 14 18:26:02 FORWARD:REJECT:IN=eth2 OUT=eth2 SRC=172.16.100.11
DST=192.168.101.5 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=13082 DF PROTO=TCP
SPT=3781 DPT=3817 WINDOW=65535 RES=0x00 SYN URGP=0

192.168.101.5 is routed out of eth2 yet this packet arrived on eth2.

So 172.16.100.11 seems to think that the Shorewall box has a route to
192.168.101.5. It does but it is back out of eth2.

Your routing table:

192.168.101.204 dev ppp2  proto kernel  scope link  src 192.168.101.201
192.168.101.202 dev ppp0  proto kernel  scope link  src 192.168.101.201
80.16.220.192/28 dev eth0  proto kernel  scope link  src 80.16.220.200
192.168.100.0/24 dev ppp2  scope link
192.168.101.0/24 dev eth2  proto kernel  scope link  src 192.168.101.200 <==
192.168.102.0/24 dev eth3  proto kernel  scope link  src 192.168.102.200
192.168.0.0/24 dev ppp0  scope link
172.16.100.0/22 dev eth2  proto kernel  scope link  src 172.16.100.200
default via 80.16.220.198 dev eth0

So if you really want that to work, you need 'routeback' on eth2 as well.

-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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to