Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Firewall Config with Webmin multiple IPs

    I am using webmin.
    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.


  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    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
    Get Counted

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts