Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Setting up dmz in windows xp

Posted on 2007-12-04
7
2,142 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
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.

829 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