Networking problem

YigYig Montreal, Qc
edited December 2005 in Science & Tech
Hi,

Kryyst told me about this forum so I'm giving it a try.

Been fighting with this for a few days now.

Hope I make sense :)

Network setup with 2 routers.

Hardware

XC-DPG603
DFL-200

Goal

The XC is the entry point.
The DFL will be mostly only used as a PPTP VPN server.

I tried a few setups. Nothing worked. If I plug the cable modem directly in the DFL, I know that the VPN server will work.

Here are some I did try:

Basic setup 1

Modem is plugged in the XC.
WAN port of the DFL is plugged in a LAN port of the XC.
Computer/switch is plugged in a LAN port of the DFL.

Configuration

XC

WAN IP: 23.X.X.X
LAN IP: 192.168.32.1
No DHCP
Enabled VPN passthru
Mapped port 9090 to 192.168.32.2
Mapped PPTP to 192.168.32.2

DFL

WAN IP: 192.168.32.2
Gateway: 192.168.32.1
LAN IP: 192.168.64.1
DHCP: 192.168.64.100 - 192.168.64.200
PPTP VPN server listening on 192.168.32.2
Opened everything incoming
Mapped port 9090 to 192.168.64.99

Computer

LAN IP: 192.168.64.99
Gateway: 192.168.64.1
Web server on port 9090

Can't connect to the VPN.
Can only access the web page when I'm behind the XC/DFL with http://23.X.X.X. It doesn't work from the outside.

Basic setup 2

Modem is plugged in the XC.
LAN port of the DFL is plugged in a LAN port of the XC.
Computer/switch is plugged in a LAN port of the DFL.

Configuration

XC

WAN IP: 23.X.X.X
LAN IP: 192.168.64.1
DHCP 192.168.64.100 - 192.168.64.200
Mapped port 9090 to 192.168.64.99

DFL

LAN IP: 192.168.64.2
No DHCP
PPTP VPN server listening on 192.168.64.2

Computer

LAN IP: 192.168.64.99
Web server on port 9090

Can't connect to either VPN or web server.


Questions

Is my setup viable?

What do I need to do to make it works?

Many thanks!

Comments

  • citrixmetacitrixmeta Montreal, Quebec Icrontian
    edited December 2005
    i just read your post. Lemme type up what i would, let me know if it makes sense.

    put the dlink aside for now.

    plug in your modem to the XC-DPG603.

    this will act as your main gateway, your firewall and you can enable DHCP on it.

    grab a switch/hub and plug it into the LAN port of the XC-DPG603.
    plug you workstation to your hub/switch.

    power everything on, send some pings , verify that ur default gateway is the XC-DPG603. verify that you can browse the net/send email etc..

    once all this is done and working, only then i would bring in the DLINK.

    you should treat the dlink as just another server/workstaion on the network. meaning plug it into your hub/switch.

    shut down all services on the dlink cept for what you need.
    assign an ip to your DLINK (MAKE SURE THE DEFAULT GATWAY, on the dlink is the XC-DPG603).

    on the XC-DPG603, forward pptp ports to the DLINK.

    try it out , see how it goes.

    good luck
  • kryystkryyst Ontario, Canada
    edited December 2005
    I left a response on nothing land already...but (for possibly others) I'll put it up here.


    Modem
    |
    Wan port of XC
    |
    Regular port of XC
    |
    Wan port of DFL
    |
    Lan port(s) of DFL
    |
    Computers.

    XC is your gateway it's doing all the connecting to the realworld. So it will be the one handeling your Modem connection. So it should be assigned 192.168.32.1 as it's Internal IP number. It's going to act as the gateway for the DFL. Subnet 255.255.255.0. And any ports you want will forward to the DFL's ip of 192.168.32.2

    The DFL should be assigned the local IP 192.168.32.2 and act as the DHCP server for your local network. WHich will hand out address of the 192.168.32.x range.

    If you want to use .64.x then I think the DFL's local IP should be 192.168.64.1 and have it's WAN IP set to 192.168.32.1 (the IP of your XC). Then all your computers would set their gateway to 192.168.64.1.

    Not to get anything from the outside world to an inside computer you have to use port/vpn's between the XC and the DFL.
Sign In or Register to comment.