Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Limiting port access
PostPosted: Sat Jul 05, 2014 4:35 am 
Offline
User avatar

Joined: Sat Jul 05, 2014 4:29 am
Posts: 1
AOL: tylerchesterpr
Location: Michigan, USA
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


Top
   
 Post subject: Re: Limiting port access
PostPosted: Sat Jul 05, 2014 5:47 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
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?

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group