On 08/27/2012 11:57 AM, Hennadiy Brych wrote:
> (disabled html formatting, should be fine now)
> Hi All,
> 
> I am using shorewall 4.4.26.1 with pptp server.
> 
> As you probably know, pptp server creates separate pppX interface per
> client connection.
> I am able to establish client connections to server, but the problem
> is - I can't get routing between pptp clients to work.
> 
> Example:
> I've connected two PC's with assigned IP's 10.0.0.2 and 10.0.0.3.
> When I am trying to ping one client from another - I am getting
> following messages:
> Aug 27 20:39:42 gserver kernel: [27639.468208]
> Shorewall:FORWARD:REJECT:IN=ppp0 OUT=ppp1 MAC= SRC=10.0.0.2
> DST=10.0.0.3 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=ICMP
> TYPE=8 CODE=0 ID=6141 SEQ=1
> Aug 27 20:39:43 gserver kernel: [27640.469536]
> Shorewall:FORWARD:REJECT:IN=ppp0 OUT=ppp1 MAC= SRC=10.0.0.2
> DST=10.0.0.3 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=ICMP
> TYPE=8 CODE=0 ID=6141 SEQ=2
> Aug 27 20:39:44 gserver kernel: [27641.470040]
> Shorewall:FORWARD:REJECT:IN=ppp0 OUT=ppp1 MAC= SRC=10.0.0.2
> DST=10.0.0.3 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=ICMP
> TYPE=8 CODE=0 ID=6141 SEQ=3
> Aug 27 20:39:45 gserver kernel: [27642.470050]
> Shorewall:FORWARD:REJECT:IN=ppp0 OUT=ppp1 MAC= SRC=10.0.0.2
> DST=10.0.0.3 LEN=84 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=ICMP
> TYPE=8 CODE=0 ID=6141 SEQ=4
> 

Hint: Shorewall FAQ 17 (http://www.shorewall.net/FAQ.htm#faq17). You
need the 'routeback' option on the ppp+ entry in /etc/shorewall/interfaces.

-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

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to