Re: Linux iptables routing without NAT

From: Allen Kistler (ackistler_at_oohay.moc)
Date: 08/16/04


Date: Mon, 16 Aug 2004 01:11:10 GMT

Vic Hargrave wrote:
> Is it possible to use Linux iptables to provide routing between the
> Internet and an internal network without NAT (i.e. so the static IP
> addresses of the internal network are visible on the Internet) ? Any
> advice on this matter would be appreciated. Thanks in advance.

You wouldn't necessarily be using iptables/netfilter for routing. You'd
just be using standard routing capabilities. You have two choices.

You could get your ISP to set up their routing so that whatever public
addresses are behind your gateway, they would route them through your
gateway.

Alternatively, you proxy arps for those addresses on your gateway's
external interface, then forward packets to your internal network
(usually natted, though).



Relevant Pages

  • Re: Setting up a home network
    ... From your routing table it is already setup correctly ... dsl0 has the IP address that the ISP gave you ... eth0 looks like your internal network ... eth0 also has the Windows ICS type network bound to it ...
    (alt.os.linux.suse)
  • Re: RAS/IP Routing Question
    ... However, I noticed remote users ... cannot access any other resources on my internal network. ... "Enable IP Routing Check Box" is checked. ... To troubleshoot such problem try to access your VPN server from some ...
    (microsoft.public.windows.server.general)
  • IPV6 routing question
    ... subnet 2001:5c0:9eb7:1 for my internal network (can that be done like ... My windows 2003 server has one NIC and one Gateway 6 client. ... manual routes to the Gateway 6 ... Below the routing table for my server: ...
    (microsoft.public.windows.server.networking)
  • Re: Is my routing table right?
    ... If the routing table is wrong it flat out won't work at all ever. ... > bungs in a default gateway setting. ... > internal network does not have a DNS allocated (I believe this is the ... DNS is your problem. ...
    (microsoft.public.isa)
  • [SLE] SuSe 9 Problems default route set with yast
    ... I encountered a very strange routing problem. ... The box is multihomed one nic points to internet the other one to the internal network. ... When setting the default route with yast I am getting into trouble. ... When I remove the dfault route and set it amnually with a "route add deafult gw" command the routing works without any ...
    (SuSE)