Solved

Setting up dmz in windows xp

Posted on 2007-12-04
7
2,120 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now