LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-02-2016, 05:45 PM   #1
end
Member
 
Registered: Aug 2016
Posts: 266

Rep: Reputation: Disabled
openvpn some theory question


hy

i have vpn server behind router. connections work.

setup is like this.

host system 11.11.11.11 centos
virtual system with vpn 22.22.22.22 centos

firewall is iptables and everithing is blocked expect vpn port.

from host system PREROUTING 11.11.11.11 to 22.22.22.22 and POSTROUTING 22.22.22.22 to 11.11.11.11

on vpn POSTROUTING 10.8.0.0/24 to 22.22.22.22 and POSTROUTING 22.22.22.22 to 11.11.11.11




i notice on server with wireshark that local ip of of host is connecting with ips of sites i browse. same time 11.11.11.11 is connected to public ip with vpn protocol.
what is strange i block everithing expect vpn port with ip tables. when i remove postrouting i can connect to vpn but then browsing dont work of course, then is not connecting to ips of sites. so something i belive is with postrouting and howe it handles connections.

what i understud from this makink ovp vpn and connecting from same network in my house doesent provide anonimiti like encription. beacouse router still need make dns request. i know that public ip remain same but beafore this i whas thinkink of vpn that he create tunnel to sites and that decriptino is made in tun interface but request is encrypted

is this normal or i missconfigured something?



on client side everithing is going throught vpn that is ok.

Last edited by end; 11-03-2016 at 02:23 AM.
 
Old 11-03-2016, 02:58 PM   #2
end
Member
 
Registered: Aug 2016
Posts: 266

Original Poster
Rep: Reputation: Disabled
re

on openvpn forum i got answer that this is normal beacouse its NAT config. i will try in bridge and let you know.
 
  


Reply



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
c++ theory question babag Programming 4 05-27-2008 04:03 PM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM
IP addresses and web-servers: n00b theory question tireseas Linux - Networking 11 03-13-2005 10:04 PM
question about dns theory eantoranz General 0 09-07-2004 12:44 PM
Math question... counting theory Dark_Helmet General 6 08-30-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:22 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
Open Source Consulting | Domain Registration