Static IP behind proxy/firewall?

Static IP behind proxy/firewall?

Post by Joseph Fowle » Wed, 05 Jan 2000 04:00:00



I would think that as long as the firewall had correct routes setup,
everything would be fine.
Assuming it already knows how to handle the internal network, just do a
route add <static-IP> eth<N>
for each of the static Ip's you want to serve, and set the gateway for each
of the
static IP machines to the router/proxy, that should just about do it.  I
would even
hope it would bounce traffic from private IP's to static IP's, even though
both
would be on the same hub.

        Joe.


>Is it possible to set up a Linux-based proxy server that would have both
>private IPs (ie. 192.168.x.y) and several static IPs (assigned by our ISP)
>on our local network?

>We have several static IP addresses that must be accessible via both the
>Internet, and our internal network of private IPs.

>Any help on how to configure this would be greatly appreciated.

>Thanks.

>Dave

 
 
 

Static IP behind proxy/firewall?

Post by Dav » Thu, 06 Jan 2000 04:00:00


Is it possible to set up a Linux-based proxy server that would have both
private IPs (ie. 192.168.x.y) and several static IPs (assigned by our ISP)
on our local network?

We have several static IP addresses that must be accessible via both the
Internet, and our internal network of private IPs.

Any help on how to configure this would be greatly appreciated.

Thanks.

Dave

 
 
 

Static IP behind proxy/firewall?

Post by fuzzypin » Thu, 06 Jan 2000 04:00:00


Hi Dave:

Most definitely.  You will have to provide for some means of IP masquerading
(NAT) for the internal IP's, and, assuming you're using a firewall, the static
ones as well.  I would recommend using ipchains and setting it up to handle the
masquerading.

Jason


>Is it possible to set up a Linux-based proxy server that would have both
>private IPs (ie. 192.168.x.y) and several static IPs (assigned by our ISP)
>on our local network?

>We have several static IP addresses that must be accessible via both the
>Internet, and our internal network of private IPs.

>Any help on how to configure this would be greatly appreciated.

>Thanks.

>Dave

 
 
 

Static IP behind proxy/firewall?

Post by Joseph Fowle » Fri, 07 Jan 2000 04:00:00


Are you sure?  Isn't the whole point of the static IP's that they are
internet
valid by themselves.  I think you specifically do NOT want to masquerade
the static IP's.  You may or may not want to masquerade the private IP's,
depending on your needs.  I believe the rules for  masquerading are in
the HOWTOs, and as part of the rules you specify source addresses to
be accepted for masquerading, making it easy to only masq what needs
to be masqueraded.

Please let me know, part of the motivation for this is that I'm not sure,
and
think I could learn from hearing the right answer.

        Joe.

>Hi Dave:

>Most definitely.  You will have to provide for some means of IP
masquerading
>(NAT) for the internal IP's, and, assuming you're using a firewall, the
static
>ones as well.  I would recommend using ipchains and setting it up to handle
the
>masquerading.

>Jason


>>Is it possible to set up a Linux-based proxy server that would have both
>>private IPs (ie. 192.168.x.y) and several static IPs (assigned by our ISP)
>>on our local network?

>>We have several static IP addresses that must be accessible via both the
>>Internet, and our internal network of private IPs.

>>Any help on how to configure this would be greatly appreciated.

>>Thanks.

>>Dave

 
 
 

Static IP behind proxy/firewall?

Post by Benson Le » Wed, 12 Jan 2000 04:00:00


Hi,

You can configure a Linux OS as your firewall. Steps as following

1) Use NAT to re-map your public IPs to your private IP ( a NIC can be    
   assigned many IP addresses in new version of Linux( public IP or private
   IP ).

2) Use "ipchains" to :
   a. build up the bridges between the public IPs & private IPs
   b. block the services, protocols, IPs, Domains & packets you do not want

3) Recompile your Linux kernal

Benson
Inasia.com

------------------


> Is it possible to set up a Linux-based proxy server that would have both
> private IPs (ie. 192.168.x.y) and several static IPs (assigned by our
ISP)
> on our local network?

> We have several static IP addresses that must be accessible via both the
> Internet, and our internal network of private IPs.

> Any help on how to configure this would be greatly appreciated.

> Thanks.

> Dave

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com
 
 
 

1. newbie: static ip laptop behind dynamic ip ppp link

Hello,

I'm quite unfamiliar with the `finer points' of networking and need
some guidance.  I have a static ip laptop from work that I'd like to
have connectivity at home.  The laptop is a SONY VAIO FXA49 and so has
a winmodem and I am forced to use my old linux pc as a gateway for the
ppp link I have through work.

Here's what I'd like to do:  have the laptop, which is sitting behind the
old linux pc acting as a gateway, retain its static ip address and hostname.
To be more precise:  when I take my laptop home, I'd like all packets
routed to its static ip/hostname to pass through my ppp gateway.

Is this possible?  If so, could someone point me in a suitable (HOWTO?)
direction.  Would dhcp be of any use here?

Thanks,
Daniel

2. ScoreBoard Not Working (?)

3. FreeBSD and natd - routing from behind firewall to behind firewall.

4. monitors 14SV

5. FTP server behind linux firewall communicating w/ FTP behind linux firewall

6. shell script stops running ????

7. dening certain ip addresses to http server running behind a IP Masq Firewall

8. xmeter across a gateway?

9. default static gateway behind firewall

10. how to get real player data behind a firewall + proxy?

11. Proxy Server behind a firewall

12. mail server behind router port forwarding 25 domain static ip postfix lonux

13. ipfw (IP Firewall), proxy and IP routing on Solaris 2.4