VPN Labs vpn questions VPN Forum VPN News
Dr.VPNlabs Discussion Newsletter
 
 Search VPN Topics
 All Categories
 Primers
 VPN, Firewall, Security ...
 Guides
 HowTo, Choosing a VPN ...
 Reference
 Articles, FAQs, Whitepapers ...
 Standards
 Architectures, Protocols ...
 Downloads
 VPN, Firewall, Security ...
 Products & Services
 Hardware, Software, Services
 Organizations
 Business
 Market Research, Law ...
 Forums
 News
 Archive, Events, Newsletters ...
 
VPN labs is an open community for researching, testing, reviewing, and discussing Virtual Private Networks. Get trusted, unbiased advice on just about everything related to VPN. For more detail check: How to use this site. VPN Labs - VIRTUAL PRIVATE NETWORKS - Free VPN Software and Virtual Private Network News.
 
VPN Forum Technical
Topic: CHANGE IP ADDRESS WINDOWS 2000 [New Topic]  [New Reply]
 Author  Message
Carceri
Member since:
2002-02-05 05:28:31
  posted: 2002-02-05 06:58:06
Change IP Address Windows 2000
----------
I have Windows 2000 clients logging on to our LAN through a freeswan gateway. Is there any way to assign the Window 2000 client a specific IP address on our LAN (it's a host -> gateway config). The problem is that many users at home have the same private IP address (192.168.1.x) and we don't want two of them on our lan when they logon through the freeswan gateway.
Carceri
Member since:
2002-02-05 05:28:31
  posted: 2002-02-07 08:37:25
Just to clarify things
----------
Ok, to give you some idea of what I want to do, here is how I do it in Linux. My internal IP address i 192.168.1.5 and I want it to be 10.10.2.1 on the network I connect to using VPN.

I just set up VPN on both sides as if my IP address really were 10.10.2.1 and then use iptables:

iptabl es -t nat -A POSTROUTING -s 192.168.1.5 -o ipsec0 -j SNAT --to-source 10.10.2.1
iptables -t nat -A PREROUTING -d 10.10.2.1 -i ipsec0 -j REDIRECT

That is when a packet leaves the ipsec0 interface with my local IP address I change it to 10.10.2.1 (and of cause also when they get back)

Can this be done under Windows 2000?
 
Link to VPNlabs  |  Suggest a Link  |  Contact Us  |  About Us  
 
© 2001 - 2005 VPNlabs.org Disclaimer