[ale] IPTABLES
Paul Cartwright
paul_tbot at pcartwright.com
Fri Mar 9 20:54:58 EST 2007
On Friday 09 March 2007 04:30:17 pm JK wrote:
> > what I want to do is add an incoming rule from my laptop to my SUSE
> > desktop to allow winscp using port 22 to access my desktop.
> > command line??
> > iptables --append INBOUND ??????
>
> iptables -I INPUT -s <laptop-ip> -p TCP --dport 22 -j ACCEPT
now, iptable -L shows:
Paulspc:/ # iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 192.168.10.4 anywhere tcp dpt:ssh
awesome!!
--
Paul Cartwright
Registered Linux user # 367800
Ubuntu User number is # 12459
More information about the Ale
mailing list