Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting up dmz in windows xp

Posted on 2007-12-04
7
Medium Priority
?
2,174 Views
Last Modified: 2013-11-13
Hello Experts,Please help me setting up a DMZ server in windows XP.I have a computer with two NICs on two different networks. e.g (first 147.167.154.160 second 192.168.1.100)  Is it possible that windows could forward all traffic to a server that is running on a 192.168 network i.e when I access 147.167.154.160 it sends all requests to 192.168.1.150 (Server IP).I have seen that in windows firewall we can forward some perticular ports but is it possible to foraward all ports to one perticular IP address?
0
Comment
Question by:mushtf
  • 3
  • 2
6 Comments
 
LVL 19

Expert Comment

by:weellio
ID: 20405804
0
 

Author Comment

by:mushtf
ID: 20408408
The article talks about port mapping in windows xp which I alreday know how to setup. I wanted to setup a DMZ that is forwarding of all ports to  a perticular IP address.
0
 
LVL 19

Expert Comment

by:weellio
ID: 20408983
hmm,. try netsh,..
C:\Program Files\Support Tools>NETSH ROUTING IP NAT ADD PORTMAPPING /?
Usage: add portmapping [name=]<string> [proto=]tcp|udp [publicip=]<IP address>|0.0.0.0
       [publicport=]integer [privateip=]<IP address> [privateport=]integer


FOR /L %variable IN (start,step,end) DO command [command-parameters]

    The set is a sequence of numbers from start to end, by step amount.
    So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would
    generate the sequence (5 4 3 2 1)


the script below should forward ALL ports to 192.168.1.111,... not sure if you want to do that or not.

where <interface> is the public attached NIC interface determined by using
NETSH ROUTING IP SHOW INTERFACE

FOR /L %P IN (1,1,65535) DO NETSH ROUTING IP NAT ADD PORTMAPPING <interface> TCP 0.0.0.0  %P  192.168.1.111

Open in new window

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mushtf
ID: 20659919
It didn't work, But I was able to fix it myself,
I downloaded wingate proxy server from
http://www.wingate.com/download.php
besides other features this product have, we can also configure it to open either slective ports or a full range of ports in the firewall anf forward all traffic to a particular IP address, it works great.
0
 

Author Comment

by:mushtf
ID: 20659927
Hello experts, I have answered my own question, please reimburse my points, Thanks!
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 22434460
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question