Martineau
Part of the Furniture
I have the same VPN settings, except I have "only user/password authentication" to yes
Surely you are not recommending reducing the OpenVPN Server authentication to only a simple User/password?
I have the same VPN settings, except I have "only user/password authentication" to yes
Correct: https://answers.microsoft.com/en-us...h/23c8a740-0c79-4042-851e-9d98d0efb539?page=1It doesn't relate to your problem, but RDP with W10 1903 is currently borked for most of the universe using onboard video with Intel drivers.
Thank u !!
Just testet it ad put these command in shell. Now everything seem to work.
After that i disconnect VPN and reconnect.
Then try to RDP to my VM, but got the same error - can not find my VM
Sorry - i am just at work and have not enough time.
I will test it little more in the evening. Thank you very much so far @eibgrad
I will report back later with a feedback !!
SCRIPTS_DIR="/jffs/scripts"
SCRIPT="$SCRIPTS_DIR/nat-start"
mkdir -p $SCRIPT_DIR
cat << "EOF" > $SCRIPT
#!/bin/sh
iptables -t nat -I POSTROUTING -s 10.8.0.0/24 -o br0 -j SNAT --to $(nvram get lan_ipaddr)
exit 0
EOF
chmod +x $SCRIPT
Just tried and put your command in my shell (on android phone). It worked and created the nat-start scriptIIRC, when you reinitialize the OpenVPN client, it resets the firewall, so I would expect anything you added manually to be lost. As I said, ultimately this rule needs to be added to the nat-start script.
If you use Putty, you can copy+paste (right-click) the following script into the terminal window and it should create the nat-start script for you.
Just tried and put your command in my shell (on android phone). It worked and created the nat-start script
Then i restart the router and cant connect VPN, due to some DNS problems...
After changing the VPN Server settings "Advertise DNS to clients" to NO, i can connect via VPN without problem.
BUT connectet to VPN, i still cannot reach the Virutal Machine on my LAN (it is a fresh Win10 Pro install)
I really get crazy with that...
Do you need any further information from my Settings to help?
What else can i do?
Maybe i should give TightVNC a try?!
iptables -t nat -vnL POSTROUTING
We've had this conversation before. I think the bigger problem is that the router admin can login unless the client connect script has your addition locking them out.Surely you are not recommending reducing the OpenVPN Server authentication to only a simple User/password?
RealVNC user hereI use TightVNC on remote Win10 clients on a LAN I manage via OpenVPN on Asus. No problems...
Sent from my SM-T380 using Tapatalk
I didn't get my RDP via VPN to work...Doesn't make sense given you said the rule worked manually, at least once. Something else seems amiss.
Dump the POSTROUTING chain of the nat table and verify the rule is in place and working (it should show some pkts and bytes).
Code:iptables -t nat -vnL POSTROUTING
iptables -t nat
-vnL POSTROUTING
Chain POSTROUTING (policy ACCEPT 5148 packets, 340K bytes)
pkts bytes target prot opt in out source destination
3334 516K MASQUERADE all -- * tun11 192.168.1.0/24 0.0.0.0/0
18 1448 SNAT all -- * br0 10.8.0.0/24 0.0.0.0/0 to:192.168.1.1
6500 1617K PUPNP all -- * eth0 0.0.0.0/0 0.0.0.0/0
1751 1298K MASQUERADE all -- * eth0 !IP of my ISP 0.0.0.0/0
138 24035 MASQUERADE all -- * br0 192.168.1.0/24 192.168.1.0/24
Chain POSTROUTING (policy ACCEPT 5280 packets, 349K bytes)
pkts bytes target prot opt in out source destination
3392 523K MASQUERADE all -- * tun11 192.168.1.0/24 0.0.0.0/0
18 1448 SNAT all -- * br0 10.8.0.0/24 0.0.0.0/0 to:192.168.1.1
6688 1659K PUPNP all -- * eth0 0.0.0.0/0 0.0.0.0/0
1811 1332K MASQUERADE all -- * eth0 !IP of my ISP 0.0.0.0/0
141 24545 MASQUERADE all -- * br0 192.168.1.0/24 192.168.1.0/24
I didn't get my RDP via VPN to work...
Here is the output of your command from inside my LAN:
Code:iptables -t nat -vnL POSTROUTING Chain POSTROUTING (policy ACCEPT 5148 packets, 340K bytes) pkts bytes target prot opt in out source destination 3334 516K MASQUERADE all -- * tun11 192.168.1.0/24 0.0.0.0/0 18 1448 SNAT all -- * br0 10.8.0.0/24 0.0.0.0/0 to:192.168.1.1 6500 1617K PUPNP all -- * eth0 0.0.0.0/0 0.0.0.0/0 1751 1298K MASQUERADE all -- * eth0 !IP of my ISP 0.0.0.0/0 138 24035 MASQUERADE all -- * br0 192.168.1.0/24 192.168.1.0/24
And here the output when connected via VPN:
Code:Chain POSTROUTING (policy ACCEPT 5280 packets, 349K bytes) pkts bytes target prot opt in out source destination 3392 523K MASQUERADE all -- * tun11 192.168.1.0/24 0.0.0.0/0 18 1448 SNAT all -- * br0 10.8.0.0/24 0.0.0.0/0 to:192.168.1.1 6688 1659K PUPNP all -- * eth0 0.0.0.0/0 0.0.0.0/0 1811 1332K MASQUERADE all -- * eth0 !IP of my ISP 0.0.0.0/0 141 24545 MASQUERADE all -- * br0 192.168.1.0/24 192.168.1.0/24
I meant the command in the shell...Just testet it ad put these command in shell. Now everything seem to work.
eibgrad said:Oops, made a syntax error. Left out the "--to". Corrected above and below.
Yeah, Home is cloud only, but cloud is encrypted end-to-end so while it wouldn't necessarily use your vpn (it should because peer-to-peer), it's still secure.Okay... I got VNC Server installed on my Virtual Machine
It works as long as I am in my LAN.
When outside my network, I have to activate the option "Cloud connecting" in VNC Server to establish a connection.
okay - this seems logical.
But even if I am connected to my VPN Server, VNC want to have cloud connection activated... otherwise i can not establish a connection.
So WTF ??!?
PLEASE: does anyone have a Win10 Pro machine and can establish a VPN connection for RDP or VNC Server?
I do NOT want to controll my Win10 Pro via normal Internet...
But every time I use VPN something get wrong and I cannot connect property
My guess is running Windows on a VM is the problem. Should be a way to give a second ip address to Windows. I have no problems connecting to vnc clients over VPN. I even connect to an off site client that connects to the router via vpn!Okay... I got VNC Server installed on my Virtual Machine
It works as long as I am in my LAN.
When outside my network, I have to activate the option "Cloud connecting" in VNC Server to establish a connection.
okay - this seems logical.
But even if I am connected to my VPN Server, VNC want to have cloud connection activated... otherwise i can not establish a connection.
So WTF ??!?
PLEASE: does anyone have a Win10 Pro machine and can establish a VPN connection for RDP or VNC Server?
I do NOT want to controll my Win10 Pro via normal Internet...
But every time I use VPN something get wrong and I cannot connect property
Okay... I got VNC Server installed on my Virtual Machine
It works as long as I am in my LAN.
When outside my network, I have to activate the option "Cloud connecting" in VNC Server to establish a connection.
okay - this seems logical.
But even if I am connected to my VPN Server, VNC want to have cloud connection activated... otherwise i can not establish a connection.
So WTF ??!?
PLEASE: does anyone have a Win10 Pro machine and can establish a VPN connection for RDP or VNC Server?
I do NOT want to controll my Win10 Pro via normal Internet...
But every time I use VPN something get wrong and I cannot connect property
Yes, as I said above.PLEASE: does anyone have a Win10 Pro machine and can establish a VPN connection for RDP
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!