Re: ssh and ipchains
From: Alexander Loeffelholz (aloeffelholz@t-online.de)Date: 03/07/02
- Previous message: RainbowHat: "Re: Linux file virus, 8759 bytes, is this a known virus?"
- In reply to: Martin Bodenstedt: "ssh and ipchains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alexander Loeffelholz" <aloeffelholz@t-online.de> Date: Thu, 7 Mar 2002 17:51:19 +0100
Hi,
try the following rule:
ipchains -A input -p tcp -s 10.x.x.x/8 -d 193.x.x.x/8 --destination-port
22 -j ACCEPT
for letting tcp packets to 193.x.x.x:22 through your firewall
and don't forget to enable ip-forwarding.
echo "1" > /proc/sys/net/ipv4/ip_forward
Alex
"Martin Bodenstedt" <martin.bodenstedt@landtag-bw.de> schrieb im Newsbeitrag
news:ae286a.i8e.ln@hades.landtag-bw.de...
> Hi folks,
>
> how do I have to setup ipchains to pass ssh requests (client: PuTTY on Win
> NT) from the internal network (10.x.x.x) thru the ipchains machine to an
> outside LINUX box running sshd (network: 193.x.x.x) ?
>
> --
>
> any hints would be appreciated,
>
> Martin Bodenstedt
>
>
>
- Next message: Nico Coetzee: "ANN: avupdate"
- Previous message: RainbowHat: "Re: Linux file virus, 8759 bytes, is this a known virus?"
- In reply to: Martin Bodenstedt: "ssh and ipchains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]