Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
in my home network I've a D-Link DSL router and few workstation/server.
My private address is classic 192.168.1.0/24
The Dlink router doesn't manage vpn.
My goal is to connect from outside, having an ip address like 192.168.1.*
you won't be able to connect directly using the 192.x.x.x ip. You will have to use the IP assigned to you by your ISP then forward the vpn port to your local ip. You can use something like dyndns to setup a domain name to help make it a little easier.
if your net (192.168.1.x) is connected to internet, and if router support port forward, you may use that feature. in addition to this you may use SSH tunneling instead of configuring of VPN. or: probably(i never did that with merging openvpn subnet with the real one, but i suspect it is possible if you put your nic into PROMISC mode) you can use OpenVPN if you need encrypted channel into your entire LAN.
you won't be able to connect directly using the 192.x.x.x ip. You will have to use the IP assigned to you by your ISP then forward the vpn port to your local ip. You can use something like dyndns to setup a domain name to help make it a little easier.
Yes I know.. but I need to reach all my private network from outside, not only one computer.
So, openvpn isn't my solution.
openvpn is great for this. you will just have to forward your assigned IP to your local IP on whatever port you run your vpn server on. (if your router supports port forwarding)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.