Solved

Setting up dmz in windows xp

Posted on 2007-12-04
7
2,148 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
7 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
Independent Software Vendors: 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

679 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