LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-08-2009, 05:43 AM   #1
ohcarol
Member
 
Registered: Dec 2004
Location: Nepal
Posts: 86

Rep: Reputation: 15
ip mapping in openvpn network


Hello all,

I have connected two office through openvpn using openwrt. Is it possible to map Office B LAN ip to Office private A LAN IP? My network scenario is:

Office A
Public IP: 202.XX.XXX.10
Lan IP: 192.168.1.1
MAP IP: 192.168.1.2

Office B
Public IP: 202.XX.XXX.11
LAN IP: 192.168.2.1
Desktop PC: 192.168.2.2

Now I have job to map Office B desktop PC ip 192.168.2.2 to 192.168.1.2. so that when I want to access 192.168.2.2 computer I can telnet 192.168.1.2 ip instead of 192.168.2.2. Is is possible with with iptables rules?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Between OpenVPN Clients and Remote Network... sancho Linux - Networking 2 12-14-2007 11:28 AM
OpenVPN - Can't ping private network chabam Linux - Networking 2 11-27-2007 08:35 AM
OpenVPN internal network access mmarinho Linux - Networking 12 09-02-2005 03:00 PM
openvpn and shorewall problem from outside network nbccbn Linux - Networking 1 07-12-2005 02:24 AM
Mapping a network Bd22 Linux - Software 2 01-16-2004 03:24 AM


All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration