Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2008
Firewall Config with Webmin multiple IPs
I want add a rule in the firewall that allows SSH access from just 2 IP addresses.
I used webmins's Networking > Linux Firewall option to do this.
I successfully configured the firewall to allow SSH from 1 IP but when I enter another IP in "Source address or network" field it throws error "Failed to save rule : Missing or invalid source address or network"
I used SPACE between two IPs and also tried comma, semi colon, colon etc
Kindly guide me.
Have your tried to add 2 rules one for each ip address?
Sorry I don't know webmin I work from the CLI.
The adventure of a life time.
Linux User #296285
yes, this will be 2 rules. The firewall rules (as seen from webmin) are applied in order, so it would check from the top down, thats why you don't want deny at the top. have one rule to allow ip1, another rule to allow ip2, and then deny (or whatever else you are doing)
I use webmin very frequently and have used it for the firewall, so write back if its still not clear.