IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New It's hard to do when you don't understand.
> I'm confused. Why not state what you want to do
> instead of what you think is not working?

I want to have 50-odd machines on my LAN hooked up to the T1. I want them firewalled and NAT'ed, which the PIX does. That all works great. In addition, I want a VPN. I had one which depended on having a separate subnet somewhere in the chain, which I no longer have.

> Did you mean you have a /24 subnet?
> Or does your subnet mask end with .240?

Sorry, that was a typo: it should be .240, which equals 16 or so addresses which the ISP is giving us.

> Generally the answer to this kind of question is NAT.

Heh. I got NAT up the wazoo. Where particularly in the chain did you have in mind to put it?
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New Re: It's hard to do when you don't understand.
Well, as long as the external world sees what it did before, your VPN will be fine.

So, you do a host-to-host NAT so that the outside world thinks nothing has changed inside.

So your internal network - lets say will be be 192.168.1.x - these go to some router - say a Linux box with a kernel that does iptables - having 2 NICs - the external NIC will be configured as one of the IP addresses your provider gave you - so

NIC 1 - IP address 192.168.1.1 mask 255.255.255.0
NIC 2 - IP address "mumble" mask 255.255.255.240

Replace "mumble" by one of the provided addresses. Set up all the internal nodes with a default gateway of 192.168.1.1. You can either give out 192.168.1.x addresses with DHCP or make static ones.

That takes care of one part - having the internal network see the world. To the external world, it will look like all traffic is coming from "mumble". I assume that "mumble" is going into the DSL-provided router. From that point on, it's their world. So the internal nodes never know about the DSL router, and as far as the DSL side is concerned, there is the one IP address "mumble".

Can you now give some info about the VPN and how it was connected before?
-drl
New I'm *always* ready to give more info. :)
> Well, as long as the external world sees
> what it did before, your VPN will be fine.

The problem is, the external world used to see three different networks, and now it only sees one.

>So your internal network - lets say will be be 192.168.1.x
> - these go to some router - say a Linux box with a kernel
> that does iptables - having 2 NICs - the external NIC will
> be configured as one of the IP addresses your provider gave you...
> Can you now give some info about the VPN and how it was connected before?

The thing I think I'm not making clear is that I don't want ALL of the traffic to go through the VPN box--I want it to continue to be a 'back door' into the LAN, mostly because I want the normal traffic to go through hardware (like the PIX), not software (like a Linux box). Obviously there's HW and SW on both, but I think you understand what I mean.

The VPN used to bridge its virtual ethernet tap device with the internal NIC. AFAICT, it can't work if both the external and internal NICs are on the same network. So I need an 'external' network now. The only network I have besides the Nat'ed internal one (192.168.0.0) is the set of IP's the ISP is doling out--problem is, there's only one ethernet jack on their router, and that goes straight into the WAN jack on the PIX router that we own. So I think I'll try putting them both on a hub I've got lying around and see if I can get all three devices (the ISP's router/gateway, the PIX, and my VPN's external NIC) on the same network.
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New Re: I'm *always* ready to give more info. :)
What network was the VPN on before?

Plus, by definition, if your internal nets were 172.16to31, 192.168, or 10. they would be invisible from outside.
-drl
New Check out my first post in this thread.
Since the diagram explains best, I think. The VPN had 2 NIC's: one on the internal network (192.168.0.0) and one on the network which existed between the two DSL routers (172.16.0.0, IIRC). In addition, since it was running an ethernet bridge, it had a virtual NIC (a tap device), which was bridged to the internal NIC. The bridged ethernet was set up per [link|http://openvpn.sourceforge.net/bridge.html|http://openvpn.sourc...e.net/bridge.html]
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New Re: Check out my first post in this thread.
I don't understand your diagram without network addresses.
-drl
New Ahhh.. here ya go.
\n                DSL     DSL 66.126.207.234\n 66.126.207.242   \\    /\n                  Router      DSL 63.200.221.34\n       172.16.0.1 |     \\    /\n                  |     Router\n                  |        |  10.0.0.8\n                  |        |\n      172.16.0.16 |        |  10.0.0.5\n                  VPN    PIX 506\n    192.168.0.251 |        |  192.168.0.110\n                  |        |\n              (3) 10/100 switches\n                |  |  |  |  |  |\n          LAN computers on 192.168.0.x\n               clients and servers\n


Plus a wireless hub in that 172.16.x.x network that I left out for clarity. :)
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New What a mess :)
OK now draw what's happening now.
-drl
New Working solution:
\n               __Dumb  Hub__\n                /    |     \\\n 64.73.226.17  /     |      \\ 64.73.226.18  /\n   T1 GW (Adit)      |      Wireless Router--WLAN Clients\n                     |       | 192.168.3.1  \\\n                     |       |\n        64.73.226.19 |       | 192.168.3.3\n                    PIX    OpenVPN\n       192.168.0.110 |       | 192.168.1.251\n                     |       |\n                 (3) 10/100 Switches\n                   | | | | | | | |\n               LAN clients and servers\n


Someday Real Soon Now I'm going to switch the innermost network (on the bottom) to 10.x, just need time.
I was one of the original authors of VB, and *I* wouldn't use VB for a text
processing program. :-)
Michael Geary, on comp.lang.python
New That's better :)
You shouldn't switch to a 10. network unless you need to do a lot of internal subnetting - say, if you're IBM.
-drl
New That extra hub sounds like the solution.
Particularly now you've re-described the situation.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New Thanks. I'll try it tonight.
     I don't get it. Networking, I mean. Box? Anyone? - (FuManChu) - (16)
         stuff 2nic box on pix - (boxley) - (2)
             You mean route all traffic through the 2-nic box? - (FuManChu) - (1)
                 10.0.0.1 net is like he 192.168.0.0 net - (boxley)
         Re: I don't get it. Networking, I mean. Box? Anyone? - (deSitter) - (12)
             It's hard to do when you don't understand. - (FuManChu) - (11)
                 Re: It's hard to do when you don't understand. - (deSitter) - (10)
                     I'm *always* ready to give more info. :) - (FuManChu) - (9)
                         Re: I'm *always* ready to give more info. :) - (deSitter) - (6)
                             Check out my first post in this thread. - (FuManChu) - (5)
                                 Re: Check out my first post in this thread. - (deSitter) - (4)
                                     Ahhh.. here ya go. - (FuManChu) - (3)
                                         What a mess :) - (deSitter) - (2)
                                             Working solution: - (FuManChu) - (1)
                                                 That's better :) - (deSitter)
                         That extra hub sounds like the solution. - (static) - (1)
                             Thanks. I'll try it tonight. -NT - (FuManChu)

Mandatory cayenne enemas would have the same effect.
232 ms