Good!Traffic wrote:Your current PKI appears to be fine .: do not delete your current certs and keys please.
What is the next step?
And I will be out beginning 2115Z for about 3 hours.
Good!Traffic wrote:Your current PKI appears to be fine .: do not delete your current certs and keys please.
^^ I did that, but it did not make any difference--data not flow.jcarerra wrote:Just noticed from previously that I had not done this...
Remove "route remote_host 255.255.255.255 net_gateway"
So I have now done that but will not be able to test the result until I can take the tablet to a foreign network tomorrow.
Code: Select all
Mar 15 10:23:25 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:25 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Mar 15 10:23:27 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:27 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Mar 15 10:23:29 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:29 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Mar 15 10:23:31 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:31 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Mar 15 10:23:33 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:33 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Mar 15 10:23:35 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:35 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
Does this mean you have now connected to your server ?jcarerra wrote:See below from server log; any idea of cause? Does not a successful connection mean that certs and keys are OK?
Code:
Mar 15 10:23:25 openvpn[26919]: TabbB/97.68.59.22:21499 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #51 / time = (1426429260) Sun Mar 15 10:21:00 2015 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mar 15 10:23:25 openvpn[26919]: TabbB/97.68.59.22:21499 TLS Error: incoming packet authentication failed from [AF_INET]97.68.59.22:21499
As I have said all along, the "OpenVPN Connect" android app shows a normal "connect"--actually displays the word "Connected" and puts a key icon in the notifications bar.Traffic wrote:Does this mean you have now connected to your server ?
OKjcarerra wrote:the "OpenVPN Connect" android app shows a normal "connect"
Infact packets do flow but they are subsequently mis-routed or blocked by your router.jcarerra wrote:HOWEVER, if you, say, open a browser (which is how I test whethere there is a tunnel out to the internet through the server), no traffic flows
I will do these the next time I am out at a "not me" wifi to test them.Traffic wrote:...Try these tests from your client[/u]:
- ping 10.8.0.6 - Your client TUN - MUST WORK
- ping 10.8.0.1 - Your server TUN - MUST WORK
- ping 192.168.0.x - Your Asus router LAN (as you are routing for it) See final Notes below* Should Work
- ping 8.8.8.8 - google DNS by IP address - testing routing to the internet (Probably will not work)
- ping google.com - testing DNS and internet (almost definitely will not work)
I am not working in linux, so I can only do that if putting it into the custom commands block as shown previously in an image would work...but I think not. I think that window is putting commands into the server config file.Traffic wrote:... you may need:
- # iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
- Ensure eth0 is the real name of your WAN adapter .. maybe WAN0
DNS servers are configured in the router (OpenDNS to be exact) and they are dhcp'ed to any client on my lan that gets a dhcp address, gateway, DNS, etc. So the router is providing them in that situation--and provides DNS when I do a non-VPN connection to it from the same client.Traffic wrote:...You are pushing your router as your client DNS server (192.168.0.1) ..
Ensure what ever steps you need have been taken on your router that it can and will resolve DNS for the client. Or push google DNS servers to the client (Google DNS 8.8.8.8 & 8.8.4.4)
And as I've said, I usually test this on hotspots around town that are provided by my ISP for its customers to use--and they definitely do not use the 192.168.0 subnet. I will be careful when connecting other places--and after I get this working, I will change my home net to a different one, but I don't want to be changing multiple things while troubleshooting.Traffic wrote:And finally remember, if you take this out into the wild, you will run into routing conflicts because of your server LAN 192.168.0.0/24
The router runs Linux ..jcarerra wrote:am not working in linux,
Do not add the iptables command to the openvpn custom config .. it will not workjcarerra wrote: so I can only do that if putting it into the custom commands block as shown previously in an image would work
which is why you need this:jcarerra wrote: But pinging OTHER "dot x's" such as my printer does not work
added to your router iptables configuration ..Traffic wrote:# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
you might find Tomato documentation useful ..Asuswrt is a unified firmware developed by Asus for use in their recent routers. The firmware was originally based on Tomato-RT/Tomato-USB
As it stands, I have looked hard to find a way to run a virtual machine for either Tomato or Merlin but as they run on MIPS there is no such solution. The only way to run them is with a router .. as far as I have been able to ascertain. If you really are giving up perhaps you no longer need your router .. you could donate it to the OpenVPN Project that we might be able to offer more comprehensive support .. If you like I can send you my shipping address ... just a thought ..jcarerra wrote:This is too hard. I will buy a commercial VPN solution I guess
The router can run sshd but the documentation is not on openvpn.netjcarerra wrote:have never seen a "terminal" type of interface