Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-01-2004, 06:53 AM   #1
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
single IP multiple services

Can I buy only one IP from my ISP and use it for multiple services like hosting my WWW server, Mail server and MIS server (each on different computers ) and provide internet facility to my internal LAN via a proxy server. What do I need to do?

Making my case clear, an example-->
I bought IP say: (not real IP for example purpose only)
I need "", "" and "". Also need to give internet service to main LAN via a proxy server.
In this situateion, what I need to do to achieve my goals.


Please do help me.
Old 06-01-2004, 07:17 AM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Please read the wonderful set of documentation on iptables on the Security forum OR

read the doc on and the sample firewall scripts that will guide you towards your goal.
Old 06-02-2004, 04:53 AM   #3
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
more to do with name resolution than security

PPURU, Thank you for the reply, but i feel my question had little to do with security (though security is important).

my main interest is to use single ip and divide it based upon service.Let me make myself VERY CLEAR.
My need is:
I have router wan address "". This router is also conencetd to DMZ LAN with ip "" When remote request is "". Router routers traffci to "" on which is connected WWW server. When remote request is "", traffic is routed to "". and son on. When request is for others, traffic is routed to proxy server on
This is what i wanted.
Nothing to do with security as you have mentioned.
Does anyone has any idea how to acjhieve this goal.
Old 06-02-2004, 06:38 AM   #4
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
PPURU is right.
iptables is used for security, NAT, port forward, and etc.
u need iptables command to forward specific ports (www smtp pop3 etc..).
if u just want script visit and generate one for your system.
Old 06-02-2004, 07:58 PM   #5
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
can we bundle multiple IPS

thanks ..i will look into it.. i was looking for an easy solution.. is my new Curiosity

I was wondering how multiple Ips can be bundled together
in a single WAN link from ISP.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Merge multiple files into a single PDF ? kkempter Linux - Software 1 10-28-2005 01:02 PM
Getting multiple consoles on single login Mork Linux - General 7 06-02-2004 02:21 AM
Single IP Multiple Domain H.K.Shahid Linux - Networking 1 09-06-2003 02:08 PM
Multiple addresses for a single NIC grub Programming 1 08-04-2003 02:24 AM
multiple OS on single HDD darkangel Linux - General 7 08-31-2002 01:35 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration