"Henning, Brian" wrote:
> 
> Hello-
> I am running the Dachstein LRP and I want to open up port 500 so I can
> connect to the vpn at work from home. I noticed that when i tried to connect
> to the vpn that nothing happens, and i assume the port 500 is blocked.
> 
> In order to "open the port" on my router, I assume i must use ipchains.
> 
> ipchains -I output  -i eth0 -s 0.0.0.0/0 500 -d 0.0.0.0/0 500 -j ACCEPT
> ipchains -I input   -i eth0 -s 0.0.0.0/0 500 -d 0.0.0.0/0 500 -j ACCEPT
> 
> do these lines make sense or am i wrong on the whole idea?


As far as the rules go, they would be written:

  ipchains -A input -j ACCEPT -i eth0 -s 0/0 -d $IPX/32 500
  ipchains -A output -j ACCEPT -i eth0 -s $IPX/32 500 -d 0/0

and you might be able to specify -p tcp if it only uses that.  Just 
substitute your external IP address for the $IPX.


matt

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to