Linode Forum
https://forum.linode.com/

Limiting port access
https://forum.linode.com/viewtopic.php?f=19&t=11140
Page 1 of 1

Author:  tylerchester [ Sat Jul 05, 2014 4:35 am ]
Post subject:  Limiting port access

Hi everybody,

I'm trying to limit port access as I have two public IPs on my node, so I'd like to leave port 80 and 22 open on 12.34.56.78 (public IP, primary server address), but deny everything else, and only allow 443, 943, and 1194 on 98.76.54.32 (public IP, secondary server address). Does this make sense? I don't want somebody using the primary server address to access our VPN, which is utilizing the secondary IP.

Thanks for your assistance.

-Tyler

Author:  sweh [ Sat Jul 05, 2014 5:47 am ]
Post subject:  Re: Limiting port access

That's very easy to do with iptables (-d or --destination option to specify the target IP address).

Not sure it gies you much of a "win" in terms of security, though. Why would you want to do this?

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/