![]() ![]() Finally racoon started without any problems (just startet, but no connection possible) - Then I followed the Firewall article but that broke my network connection. This is statet anywhere (sorry, can't remember where), but my Kernel was not able to run that. Hardware is TP-Link TL-WDR4300, Build is openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade_attitude-adjustment_12-09-beta.įirst of all the Wiki articles seem to be buggy (?) or not adaptet for Attitute Adjustment: - The "ps" command has no "-ef" switch on my busybox, so I simply removed "-ef" from /etc/init.d/racoon - There was also a problem with "blowfish" encryption. I am now struggling with it for three days and am about to give up :-( I really hope someone can help. What I did was: - Following Wiki IPsec Basics - Following Wiki IPsec Firewall - Following Wiki IPsec Road Warrior Configuration - And trying Wiki IPsec With Certificates - Gooooooooooogle * 1000000000 - OpenWrt Forum Search - :-( Basically I would like to configure OpenWrt in a way, that I can log in to my private network from outside my LAN via IPsec and my iPhone. This is optional, though, as it usually doesn't hurt anything to just keep the DNS servers associated.I am quite new to OpenWrt (used DD-Wrt a lot during the last couple of years, but finally want to get rid of it) and am very impressed of the project.Īt the moment I am trying to set up a IPsec Road Warrior Configuration. Run the reset_dns command again after disconnecting form your VPN to remove the entries and restore the original DNS server configuration. usually Wi-Fi or Ethernet) so that your VPN DNS servers will be used first, then your Primary connection DNS servers second. The above code adds the DNS servers of your VPN connection to the Primary network connection (i.e. Mac OSX only uses DNS servers associated with your 'Primary' network connection. Once connected to your VPN, run reset_dns from a terminal window Replace the word 'MY VPN' with the name of your VPN connection. Set_dns_ips "$pri_srvc_name" $setup_dns_ips #!/bin/bashĮcho "set_dns_ips $pri_srvc_name $setup_dns_ips" ![]() Put this following code in a file name reset_dns. But I never to my head around it so a second question on that topic might help. But you should be able to figure that out :)ĮDIT: As far as automating the process goes, I'm pretty sure that's doable with AppleScript or Automator. ![]() You might want to look at the resolver manpageĪFAIK you need to put a file named in /etc/resolver with the IPs of the nameservers for that domain if you want special nameservers for - Could be they use nf syntax, I can't remember. If I need to post any console command output, I am willing to do that if you let me know which exactly.Īny help is highly appreciated, as this is a kind of show stopper for me now. How do I properly set up the network so it understands when to go through VPN, and when to use the normal connection? I need it to resolve Windows server names correctly. However, as I tunnelled all traffic to go through VPN, I can no longer access the Internet: $ ping Performing these two steps is enough to make my working computer pingable: $ nslookup myusername I manually enter Search Domain name in VPN interface's DNS settings: I found a temporary workaround that allows me to access the network via VPN by modifying two options: I put a checkmark in Send all traffic over VPN connection: How do I configure the network to use them for everything that starts from 192.168? The Old Workaround Ping: cannot resolve myusername: Unknown hostĪfter trying everything I could, I found that this command makes both VPN network and internet available to me: sudo route add -net 192.168.7.218 192.168.7.117 255.255.0.0Ĭompany's DNS servers are accessible by their IPs. However, I can't access my work computer because hostname doesn't get resolved: $ ping myusername I set up a VPN connection from my Macbook, and it seems to connect successfully. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |