[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] IPTABLES
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