OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« previous next »
  • Print
Pages: [1]

Author Topic: Traffic eines Clients durch OpenVPN Tunnel ins Internet routen  (Read 4044 times)

massa

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« on: November 15, 2016, 03:28:16 pm »
Hallo zusammen,

ich bin gestern von pfSense auf OPNsense umgestiegen und ich hab irgendwie ein Brett vorm Kopf glaube ich..
Bitte helft mir es wieder loszuwerden :)

Ich habe folgenden Aufbau:

Server 1                             Internet                        Server 2
Client -> OPNsense <===OpenVPN Tunnel===> Ubuntu OpenVPN Server

Ich habe eine Connection laut Logfile und der Connection status anzeige.
Ich habe ein neues Interface zugewiesen und aktiviert und danach eine Firewall Regel für das neue Interface mit allow any erstellt. Zuletzt eine weitere Regel im LAN Interface mit der Client IP als Source und das neue Gateway welches automatisch erstellt worden ist für die VPN Strecke.
Dennoch wird kein Traffic durch den Tunnel geleitet sondern alles lokal ins Internet!

Ich komme einfach nicht darauf was ich vergessen haben könnte  ???
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« Reply #1 on: November 15, 2016, 03:32:54 pm »
Vermutlich hast du unter NAT -> Outbound eine Regel, die dein ganzes LAN zum WAN rausjagt ?!
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

massa

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« Reply #2 on: November 15, 2016, 04:39:33 pm »
Ui das ging flott!
Ich hatte tatsächlich noch keine NAT Regel erstellt, sieht jetzt so aus:
Interface       Source                Source Port   Destination   Destination Port   NAT Address   NAT Port   Static Port   
OPT2      192.168.10.0/24          *                     *                      *                  OPT2 address       *             NO

Funktioniert nur leider immer noch nicht ^^
Logged

massa

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« Reply #3 on: November 15, 2016, 05:07:23 pm »
Keine Ahnung warum, aber jetzt funktionierts plötzlich ^^
Danke für die Hilfe!
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
« Reply #4 on: November 15, 2016, 05:57:39 pm »
Manchmal brauchen die ganzen Änderungen auch einen reboot, damit's richtig läuft... ;-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Traffic eines Clients durch OpenVPN Tunnel ins Internet routen
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2