OpenVPN does not work with Gateway, but does with bridge
Clash Royale CLAN TAG#URR8PPP
i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands :
sudo openvpn --config file.tcp.ovpn
then my authorization
Enter Auth Username: user_xy
and
Enter Auth Password: *********
everything seems fine and terminal prints "Initialization Sequence Completed".
I found out if my router is in "Bridge mode" the openVPN works correctly, but if i set the "Gateway mode" openvpn does not work.
I also use VPN application on my mobile phone (it is not openVPN but "TURBO-VPN") and there all works great with both router mode.
I have requirement that I need the gateway mode on my router because of NAT.
additional information :
The modes on router set over http here :
openvpn vpn bridge gateway
add a comment |
i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands :
sudo openvpn --config file.tcp.ovpn
then my authorization
Enter Auth Username: user_xy
and
Enter Auth Password: *********
everything seems fine and terminal prints "Initialization Sequence Completed".
I found out if my router is in "Bridge mode" the openVPN works correctly, but if i set the "Gateway mode" openvpn does not work.
I also use VPN application on my mobile phone (it is not openVPN but "TURBO-VPN") and there all works great with both router mode.
I have requirement that I need the gateway mode on my router because of NAT.
additional information :
The modes on router set over http here :
openvpn vpn bridge gateway
In the router you should select "Gateway". Than read the contents of you fileless file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.
– AlexOnLinux
Feb 10 at 15:57
add a comment |
i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands :
sudo openvpn --config file.tcp.ovpn
then my authorization
Enter Auth Username: user_xy
and
Enter Auth Password: *********
everything seems fine and terminal prints "Initialization Sequence Completed".
I found out if my router is in "Bridge mode" the openVPN works correctly, but if i set the "Gateway mode" openvpn does not work.
I also use VPN application on my mobile phone (it is not openVPN but "TURBO-VPN") and there all works great with both router mode.
I have requirement that I need the gateway mode on my router because of NAT.
additional information :
The modes on router set over http here :
openvpn vpn bridge gateway
i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands :
sudo openvpn --config file.tcp.ovpn
then my authorization
Enter Auth Username: user_xy
and
Enter Auth Password: *********
everything seems fine and terminal prints "Initialization Sequence Completed".
I found out if my router is in "Bridge mode" the openVPN works correctly, but if i set the "Gateway mode" openvpn does not work.
I also use VPN application on my mobile phone (it is not openVPN but "TURBO-VPN") and there all works great with both router mode.
I have requirement that I need the gateway mode on my router because of NAT.
additional information :
The modes on router set over http here :
openvpn vpn bridge gateway
openvpn vpn bridge gateway
asked Jan 28 at 10:31
S3jp4kCZES3jp4kCZE
12
12
In the router you should select "Gateway". Than read the contents of you fileless file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.
– AlexOnLinux
Feb 10 at 15:57
add a comment |
In the router you should select "Gateway". Than read the contents of you fileless file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.
– AlexOnLinux
Feb 10 at 15:57
In the router you should select "Gateway". Than read the contents of you file
less file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.– AlexOnLinux
Feb 10 at 15:57
In the router you should select "Gateway". Than read the contents of you file
less file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.– AlexOnLinux
Feb 10 at 15:57
add a comment |
1 Answer
1
active
oldest
votes
You have to create NAT rules on your router. Looking on this scenario from internet perspective, create forward port TCP/UDP 1194
TO your computer inside local network (LAN). You need to tell your router, what to actually do with such traffic. That would be something like:
far OpenVPN peer -> internet -> your router -> forward UDP/TCP port 1194 packets to -> your computer inside LAN (eg. 192.168.1.5)
Make also sure that such traffic is allowed on the firewall (if is enabled).
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497170%2fopenvpn-does-not-work-with-gateway-but-does-with-bridge%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to create NAT rules on your router. Looking on this scenario from internet perspective, create forward port TCP/UDP 1194
TO your computer inside local network (LAN). You need to tell your router, what to actually do with such traffic. That would be something like:
far OpenVPN peer -> internet -> your router -> forward UDP/TCP port 1194 packets to -> your computer inside LAN (eg. 192.168.1.5)
Make also sure that such traffic is allowed on the firewall (if is enabled).
add a comment |
You have to create NAT rules on your router. Looking on this scenario from internet perspective, create forward port TCP/UDP 1194
TO your computer inside local network (LAN). You need to tell your router, what to actually do with such traffic. That would be something like:
far OpenVPN peer -> internet -> your router -> forward UDP/TCP port 1194 packets to -> your computer inside LAN (eg. 192.168.1.5)
Make also sure that such traffic is allowed on the firewall (if is enabled).
add a comment |
You have to create NAT rules on your router. Looking on this scenario from internet perspective, create forward port TCP/UDP 1194
TO your computer inside local network (LAN). You need to tell your router, what to actually do with such traffic. That would be something like:
far OpenVPN peer -> internet -> your router -> forward UDP/TCP port 1194 packets to -> your computer inside LAN (eg. 192.168.1.5)
Make also sure that such traffic is allowed on the firewall (if is enabled).
You have to create NAT rules on your router. Looking on this scenario from internet perspective, create forward port TCP/UDP 1194
TO your computer inside local network (LAN). You need to tell your router, what to actually do with such traffic. That would be something like:
far OpenVPN peer -> internet -> your router -> forward UDP/TCP port 1194 packets to -> your computer inside LAN (eg. 192.168.1.5)
Make also sure that such traffic is allowed on the firewall (if is enabled).
answered Jan 28 at 11:30
Radek RadekRadek Radek
514
514
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497170%2fopenvpn-does-not-work-with-gateway-but-does-with-bridge%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
In the router you should select "Gateway". Than read the contents of you file
less file.tcp.ovpn
. You need to find out the Protocol Type - in your case TCP i guess - and the Protocol Port. When u have these informaiton you have to create firewall / nat rules in your router.– AlexOnLinux
Feb 10 at 15:57