Coder Social home page Coder Social logo

Comments (5)

Ysurac avatar Ysurac commented on June 23, 2024

I'm not sure I really understand what you want.
For incoming packets there is no real problem, you can disable masquerade on VPN zone.
For outgoing packets I don't really understand what you want but you need to know that, by default, TCP is using a proxy, it's a big difference with a VPN.

from openmptcprouter.

Funstar81 avatar Funstar81 commented on June 23, 2024

Thank you for your very fast response. Basically I want omr to be fully transparent to my local firewall. I want to configure the public IP of the vps to my firewalls WAN interface, so it does the source NAT. And then, all packets should be handled by omr in a way that outgoing packets from my firewall keep their (public) source IP all the way out to the internet and that incoming packets reach my firewall in a way that they are addressed to the public IP, so the firewall doesn't know about the omr-construct on its WAN side.

from openmptcprouter.

Ysurac avatar Ysurac commented on June 23, 2024

So you want something like a bridge mode, for me it's not possible.
But you can still try and if you success I can add needed settings for that.

from openmptcprouter.

Funstar81 avatar Funstar81 commented on June 23, 2024

I would like to try it, if you could give me some hints for that:

  1. How to disable SNAT for omr => tun0
  2. How to enable DNAT for omr => lan

from openmptcprouter.

Funstar81 avatar Funstar81 commented on June 23, 2024

After setting "option masq" to '0' in /etc/config/firewall on my local omr instance, I can see the packets with the unchanged sender ip 5.75.172.183 when I monitor the traffic with tcpdump -i tun0 -n outbound. However, on the vps side of the tunnel, I cannot see those packets with tcptump -i tun0 -n inbound. They get lost somewhere on their way.

from openmptcprouter.

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.