Fedora 18 firewalld specify source ip
With iptables I used to be able to specify a source IP to allow through a port. For example, if I only wanted to allow ssh from 10.0.0.3
iptables -I INPUT -p tcp -s 10.0.0.3 --dport 22 -j ACCEPT I just installed Fedora 18 and learned they moved to firewalld by default so I figured when in rome... I opened the firewall-config dialog and added some ports/services. But I can not find a way to specify a source IP. Any help? |
I don't know if this will help you out but you could try editing the /etc/hosts.allow and hosts.deny file.
|
Okay i googled some info about firewalld and here is what i came across
from https://fedoraproject.org/wiki/FirewallD Quote:
Quote:
Code:
firewall-cmd --direct --passthrough { ipv4 | ipv6 | eb } <args> Quote:
Code:
firewall-cmd --direct --add-chain { ipv4 | ipv6 | eb } <table> <chain> http://pantestmb.blogspot.in/2013/04...d-install.html |
All times are GMT -5. The time now is 11:50 PM. |