GithubHelp home page GithubHelp logo

Comments (4)

mightydok avatar mightydok commented on August 24, 2024 1

@funkenstrahlen add this to your config for client defgw support:

openvpn_server_options:
 - push "dhcp-option DNS IP_OF_DNS_SERVER"
 - push "redirect-gateway def1 bypass-dhcp"

from stouts.openvpn.

j-carpentier avatar j-carpentier commented on August 24, 2024

Hello !
I think this role doesn't support traffic routing via OpenVPN server
I'm looking for exactly the same thing and it's seems some key features are unhandled, for example :
iptables rules or forwarding enabled (/proc/sys/net/ipv4/ip_forward)

Take a look at this article :
http://allanmcrae.com/2013/09/routing-traffic-with-openvpn/

from stouts.openvpn.

fitz123 avatar fitz123 commented on August 24, 2024

Guys, it support routing traffic. You just need to choose this connection as Default Gateway. For example on Linux by default all traffic goes thru VPN connection. On windows I guess you need to mark some checkbox

from stouts.openvpn.

conorsch avatar conorsch commented on August 24, 2024

I'm using a separate firewall role to handle iptables rules. The sysctl options mentioned above are indeed handled, since #25. Therefore this seems OK to close.

Docs PRs to make practical usage more clear are welcome!

from stouts.openvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.