<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IP GRE Cisco Linux</title>
	<atom:link href="http://www.x83.net/ip-gre-cisco-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net/ip-gre-cisco-linux/</link>
	<description></description>
	<lastBuildDate>Thu, 22 Jul 2010 11:25:28 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Giany</title>
		<link>http://www.x83.net/ip-gre-cisco-linux/comment-page-1/#comment-1425</link>
		<dc:creator>Giany</dc:creator>
		<pubDate>Tue, 11 May 2010 12:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://x83.net/blog/?p=7#comment-1425</guid>
		<description>Try debugging with tcpdump. Most likely you did not set the proper iproute rules.</description>
		<content:encoded><![CDATA[<p>Try debugging with tcpdump. Most likely you did not set the proper iproute rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neptor</title>
		<link>http://www.x83.net/ip-gre-cisco-linux/comment-page-1/#comment-1364</link>
		<dc:creator>neptor</dc:creator>
		<pubDate>Fri, 07 May 2010 02:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://x83.net/blog/?p=7#comment-1364</guid>
		<description>Hello, 

i&#039;ve the similar situation, even i have to forwrding traffic from gre (ciscolinux) to internet, so in my iptables i&#039;ve set :

#Permiting linux to act as router (necessary to forward packets)
echo &quot;1&quot; &gt; /proc/sys/net/ipv4/ip_forward
# first the port  then the protocol
$fw -A INPUT -p 47 -j ACCEPT


# permit any ppp interfase to forward
$fw -A FORWARD -i cloud -o ppp0 -j ACCEPT
$fw -A FORWARD -o cloud -i ppp0 -j ACCEPT

# any &quot;related&quot; activity to something already permitted, should be accepted:
$fw -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

# masquerade anything going out from this server:
$fw -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
#$fw -t nat -A POSTROUTING -o ppp0 -j SNAT --to $myextip
$fw -t nat -A POSTROUTING -o ppp0 -j SNAT --to-source $myextip
$fw -A FORWARD -i cloud -o ppp0 -m state --state ESTABLISHED,RELATED -j ACCEPT

so i see the traffic comming from cisco, and going to internet avec mu ppp0 NIC, but it never come back.

Can you tell me what&#039;s wrong with mon iptables ?</description>
		<content:encoded><![CDATA[<p>Hello, </p>
<p>i&#8217;ve the similar situation, even i have to forwrding traffic from gre (ciscolinux) to internet, so in my iptables i&#8217;ve set :</p>
<p>#Permiting linux to act as router (necessary to forward packets)<br />
echo &#8220;1&#8243; &gt; /proc/sys/net/ipv4/ip_forward<br />
# first the port  then the protocol<br />
$fw -A INPUT -p 47 -j ACCEPT</p>
<p># permit any ppp interfase to forward<br />
$fw -A FORWARD -i cloud -o ppp0 -j ACCEPT<br />
$fw -A FORWARD -o cloud -i ppp0 -j ACCEPT</p>
<p># any &#8220;related&#8221; activity to something already permitted, should be accepted:<br />
$fw -A FORWARD -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT</p>
<p># masquerade anything going out from this server:<br />
$fw -t nat -A POSTROUTING -o ppp0 -j MASQUERADE<br />
#$fw -t nat -A POSTROUTING -o ppp0 -j SNAT &#8211;to $myextip<br />
$fw -t nat -A POSTROUTING -o ppp0 -j SNAT &#8211;to-source $myextip<br />
$fw -A FORWARD -i cloud -o ppp0 -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT</p>
<p>so i see the traffic comming from cisco, and going to internet avec mu ppp0 NIC, but it never come back.</p>
<p>Can you tell me what&#8217;s wrong with mon iptables ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
