This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IPSec gateway 194.94.31.250 | |
| IPSec ID FHS | |
| IPSec secret <sharedsecret> | |
| Xauth username <yourfhsid> | |
| Xauth password <yourpassword> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source /lib64/rc/sh/functions.sh | |
| ebegin "Connecting to the VPN" | |
| vpnc | |
| eend | |
| ebegin "Modifying the routing table" | |
| echo "nameserver 127.0.0.1" > /etc/resolv.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Connecting to the VPN" | |
| vpnc | |
| echo "Modifying the routing table" | |
| echo "nameserver 127.0.0.1" > /etc/resolv.conf | |
| echo "nameserver 192.168.178.1" >> /etc/resolv.conf | |
| route add default gw 192.168.178.1 | |
| route add -net 212.201.64.0 netmask 255.255.254.0 dev tun0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Main where | |
| import Network.HTTP.Enumerator | |
| import Network.HTTP.Types | |
| import qualified Data.ByteString.Lazy.UTF8 as BSLU | |
| page = "http://www.invest-in-thuringia.de/service/firmendatenbank/?searchScope=firmen-detail&adrid=2660" | |
| main = do | |
| req0 <- parseUrl page |
NewerOlder