Editing
Msg00684.html
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
----- [<nowiki/>[[msg00683.html|Date Prev]]][<nowiki/>[[msg00685.html|Date Next]]][<nowiki/>[[msg00681.html|Thread Prev]]][<nowiki/>[[msg00682.html|Thread Next]]][<nowiki/>[[index.html#00684|Date Index]]][<nowiki/>[[threads.html#00684|Thread Index]]] <span id="re-vserver-blocking-ssh-access-from-virtual-server-to-physical-one"></span> = Re: [vserver] blocking ssh access from virtual server to physical one = ----- * '''From:''' Jon Bendtsen * '''Date:''' Mon, 22 Apr 2002 10:53:38 -0400 ----- <pre> Thomas Weber wrote: > > On Mon, Apr 22, 2002 at 11:13:04AM +0200, Jon Bendtsen wrote: > > Thomas Weber wrote: > > > > > > On Wed, Apr 17, 2002 at 02:59:05PM -0400, Jerry Wilborn wrote: > > > > i tried implementing ipchains rules on the physical server to reject > > > > packets, tried hosts.allow/deny combis > > > > > > > > has anyone been able to successfully block traffic coming from a virtual > > > > server going to the physical server's ip? > > > > > > should be straight forward. With iptables it'd be like this: > > > iptables -I INPUT -s vserversaddress --dport ssh -j DROP > > > > And what if the IP address is the same as the server ?? > > > > What if you used the interface option?? So, only allowing from ethX? > > huh? i don't understand what you wanna do. Each of your vservers has one IP > address to which the processes in the vserver can bind. So block incoming > traffic from this address and you're done. Okay, i was unclear. You dont have to block it. Usualy you can specify a ! infront to revert the testing, or else you can just do "allow" all trafic to the port he wants protected that comes from ethX, or not his own ip. JonB </pre> ----- * '''References''': ** '''[[msg00673.html|[vserver] blocking ssh access from virtual server to physical one]]''' *** ''From:'' Jerry Wilborn ** '''[[msg00674.html|Re: [vserver] blocking ssh access from virtual server to physical one]]''' *** ''From:'' Thomas Weber ** '''[[msg00679.html|Re: [vserver] blocking ssh access from virtual server to physical one]]''' *** ''From:'' Jon Bendtsen ** '''[[msg00681.html|Re: [vserver] blocking ssh access from virtual server to physical one]]''' *** ''From:'' Thomas Weber * Prev by Date: '''[[msg00683.html|RE: [vserver] blocking ssh access from virtual server to physical one]]''' * Next by Date: '''[[msg00685.html|[vserver] strace in ctx 1]]''' * Previous by thread: '''[[msg00681.html|Re: [vserver] blocking ssh access from virtual server to physical one]]''' * Next by thread: '''[[msg00682.html|RE: [vserver] blocking ssh access from virtual server to physical one]]''' * Index(es): ** [[index.html#00684|'''Date''']] ** [[threads.html#00684|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information