Re: controlling access based on IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2003-02-21 at 13:59, q@ns1.teamraf.com wrote:
> I've been browsing around looking for this answer...

Not very much it seems. The netfilter documentation is here:
http://www.netfilter.org/documentation/

> Is it possible to allow an IP address through netfilter for a specific 
> service, say ssh(22).

Yes. Use the --dport parameter, e.g.
iptables -A FORWARD -s your.home.ip.address -p tcp --dport 22 -j ACCEPT


Bjørn




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux