Hi,
I have the following setup and I'm having problems...
** Netgear DSL Router***
^ ^
| |
| |
LINUX <-----> XP
Or in words..
I Have two machines one running linux and one running XP both have 2
NICs. What I want to do is this.
Both machines should be connected to the router for internet access.
I have connected the linux box directly to the XP box using a
crossover cable.
I want all communication between the Linux and the xp box to be over
the crossover cable. The linux box appears to be behaving but I can't
make the XP box send traffic to the linux box over the crossover
cable.
The reason behind all this is because I want to have more open
firewall rules over the crossover cable since my linux box acts as a
public webserver.
Any help would be fantastic because I'm stumped
Dave
PS: I'm no expert so I may (and hoipefully have) made a stupid mistake
somewhere
I have pretty much the same setup as you do except for
one extra Windows workstation and an occasional wireless
connection ;-)
Rather than installing two NICs in each machine, here's
what I did -
1. Gave the webserver a static IP address outside the
router's DHCP scope but on the same subnet (192.168.1.50)
2. Set the router to assign IP addresses from
192.168.1.101 through 192.168.1.254
3. Use port forwarding on the router to forward inbound
traffic on port 21(FTP), 22(SSH), 25(SMTP), 53(DNS), 80
(HTTP), 113(IDENT), 119(NNTP), 443(SSL) and 6667(IRC)
directly to the webserver.
The advantage to having a public webserver on a private
network is that there are only nine ports exposed to the
Internet - everything else is nonroutable. Since the
Linux box is on the same subnet as the XP machines
communicating between them is no problem but both my
private network and the public webserver are fairly well
protected. I have a few other security measures in place
but I think you get the general idea.
Good luck!
>-----Original Message-----
>Hi,
>I have the following setup and I'm having problems...
>
>** Netgear DSL Router***
> ^ ^
> | |
> | |
>LINUX <-----> XP
>
>Or in words..
>I Have two machines one running linux and one running XP
both have 2
>NICs. What I want to do is this.
>Both machines should be connected to the router for
internet access.
>I have connected the linux box directly to the XP box
using a
>crossover cable.
>I want all communication between the Linux and the xp
box to be over
>the crossover cable. The linux box appears to be
behaving but I can't
>make the XP box send traffic to the linux box over the
crossover
>cable.
>
>The reason behind all this is because I want to have
more open
>firewall rules over the crossover cable since my linux
box acts as a
>public webserver.
>Any help would be fantastic because I'm stumped
>
>Dave
>
>PS: I'm no expert so I may (and hoipefully have) made a
stupid mistake
>somewhere
>.
>
One question. What Ip addresses and subnet mask are you using for your
connection between linux and Xp? And what IPs between xp to router and linux
to router?
You can set order priority of network adapters in "Network Connections"
under "Advanced" \ "Advanced Settings" --> Move your network card that is
connected through the crossover cable at the top. After restart it should
work?
--
Best Regards,
Sebastjan Kocelj, MCSA
Avtenta.SI
Microsoft Gold Certified Partner
for Support Services
"David Hayes" <david.hayes@gmx.net> wrote in message
news:617e1915.0405040138.538e27c5@posting.google.c om...
> Hi,
> I have the following setup and I'm having problems...
>
> ** Netgear DSL Router***
> ^ ^
> | |
> | |
> LINUX <-----> XP
>
> Or in words..
> I Have two machines one running linux and one running XP both have 2
> NICs. What I want to do is this.
> Both machines should be connected to the router for internet access.
> I have connected the linux box directly to the XP box using a
> crossover cable.
> I want all communication between the Linux and the xp box to be over
> the crossover cable. The linux box appears to be behaving but I can't
> make the XP box send traffic to the linux box over the crossover
> cable.
>
> The reason behind all this is because I want to have more open
> firewall rules over the crossover cable since my linux box acts as a
> public webserver.
> Any help would be fantastic because I'm stumped
>
> Dave
>
> PS: I'm no expert so I may (and hoipefully have) made a stupid mistake
> somewhere