Koozali.org: home of the SME Server

How to restrict access to a given Port to all except one or two trusted IP?s

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
I would like to restrict access to a Port or a range of Ports to all IP addresses on the WAN interface except for one or two known and trusted IP addresses.  How to do this?  Many thanks for help.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline bunkobugsy

  • *
  • 306
  • +4/-0
Might this be possible with the newly upgraded portward,
creating forward(s) for the specific port(s) to server's IP
and specifing host(s) which should be able to acces it?

It would be great not to fiddle with (template) iptables.

On the other hand ... http://wiki.contribs.org/Firewall