Tom, thank you very much! Silly me, somehow I managed to miss FAQ17 wildcard info (I read it, but note "This option does not work with a wild-card interface name" on routefilter, which should be used with routeback totally mislead me, and sfilter parameter was somehow not clear to me). Everything is working now, in case someone will have same problem, here's my final /etc/shorewall/interfaces: loc eth0 detect tcpflags,routefilter net eth1 detect tcpflags,dhcp,routefilter vpn ppp+ detect sfilter=192.168.0.0/24,routeback
On Mon, Aug 27, 2012 at 10:33 PM, Tom Eastep <[email protected]> wrote: > 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 \________________________________________________ > > > ------------------------------------------------------------------------------ > 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 > -- Best Regards, Hennadiy Brych ------------------------------------------------------------------------------ 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
