This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Remote Access & Host file & 3G

Hello All
I have two threads 
first of all , i have ASG 120 , enabled remote access SSL VPN ,
and install the software ,
Now , i habe been informed that i need to modify the Host file in my windows folder / system32 / to write the following :

Astaro static IP                          Asg120

so i could connect to my firewall whereever i am 
but is the the right step to ????? 
Now i am connecting to Astaro with my static ip instead of Asaro static IP !!
i tried to modify the host file , it is right , i tried to use admin permission , the same .

what should i have do ?

2nd :
when i usa ADSL Line , Astaro used to connect perfectly SSL VPN and outlook is connected to exchange but when i use 3G access , outlook is trying to connect , and no connection between outlook and server !

is there anyway to raise the bandwidth connection ?>

Regards
Sami


This thread was automatically locked due to age.
  • Oh, the commands are supposed to run on the ASG itself, no wonder I've never seen the strange error messages. =) To log in to ASG you need to enable SSH and download PuTTY, which is a free SSH client for Windows. Use the loginuser to get in and then `su -` to switch to root. Then issue the commands from above to see if any of the Outlook packets make it through the tunnel. Best would be to post the output in this thread if you are unsure.
  • Thanks alot , appreciate your feedback [:)]
    i will do what you have requested and back to you
    Thanks Alot again ...
  • Hi [[:)]]
    Please find the follwoings when i press Send/recive to connect outlook with exchange :

    ASG120:/root # tcpdump -ni tun0 host 192.168.2.1
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on tun0, link-type RAW (Raw IP), capture size 96 bytes
    10:26:59.962243 IP 10.232.2.10.64313 > 192.168.2.1.53: 48907+[|domain]
    10:26:59.963755 IP 192.168.2.1.53 > 10.232.2.10.64313: 48907*[|domain]
    10:27:00.682893 IP 10.232.2.10.62060 > 192.168.2.1.53: 11754+[|domain]
    10:27:00.684948 IP 192.168.2.1.53 > 10.232.2.10.62060: 11754* 1/0/1 (108)
    10:27:01.356033 IP 10.232.2.10.63980 > 192.168.2.1.53: 58290+[|domain]
    10:27:01.357966 IP 192.168.2.1.53 > 10.232.2.10.63980: 58290*[|domain]
    10:27:26.941921 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 2332084937:2332085129(192) ack 3954922331 win 4072
    10:27:26.944191 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 1:145(144) ack 192 win 64221
    10:27:27.306345 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 192:368(176) ack 145 win 4400
    10:27:27.308012 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 145:289(144) ack 368 win 65535
    10:27:27.677382 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 368:560(192) ack 289 win 4364
    10:27:27.679809 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 289:449(160) ack 560 win 65343
    10:27:28.040525 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 560:768(208) ack 449 win 4324
    10:27:28.041907 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 449:609(160) ack 768 win 65135
    10:27:28.398324 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 768:1056(288) ack 609 win 4284
    10:27:28.409586 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 609:801(192) ack 1056 win 64847
    10:27:28.761949 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 1056:1248(192) ack 801 win 4236
    10:27:28.764568 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 801:945(144) ack 1248 win 64655
    10:27:29.131562 IP 10.232.2.6.49227 > 192.168.2.1.1286: . 1248:2602(1354) ack 945 win 4200
    10:27:29.432268 IP 192.168.2.1.1286 > 10.232.2.6.49227: . ack 2602 win 65535
    10:27:29.522962 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 2602:3824(1222) ack 945 win 4200
    10:27:29.526315 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 945:1553(608) ack 3824 win 64313
    10:27:29.774566 IP 10.232.2.6.49310 > 192.168.2.1.135: S 563281781:563281781(0) win 8192 
    10:27:29.777321 IP 192.168.2.1.135 > 10.232.2.6.49310: S 1904143030:1904143030(0) ack 563281782 win 65535 
    10:27:30.155963 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 3824:4016(192) ack 1553 win 4400
    10:27:30.158234 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 1553:1697(144) ack 4016 win 65535
    10:27:30.572334 IP 10.232.2.6.49310 > 192.168.2.1.135: . ack 1 win 4400
    10:27:30.919248 IP 10.232.2.6.49310 > 192.168.2.1.135: P 1:117(116) ack 1 win 4400
    10:27:30.921387 IP 192.168.2.1.135 > 10.232.2.6.49310: P 1:85(84) ack 117 win 65419
    10:27:31.267066 IP 10.232.2.6.49227 > 192.168.2.1.1286: P 4016:4224(208) ack 1697 win 4364
    10:27:31.268720 IP 192.168.2.1.1286 > 10.232.2.6.49227: P 1697:1841(144) ack 4224 win 65327
    10:27:31.620301 IP 10.232.2.6.49310 > 192.168.2.1.135: P 117:273(156) ack 85 win 4379
    10:27:31.622466 IP 192.168.2.1.135 > 10.232.2.6.49310: P 85:237(152) ack 273 win 65263
    10:27:31.968852 IP 10.232.2.6.49227 > 192.168.2.1.1286: . ack 1841 win 4328
    10:27:32.347194 IP 10.232.2.6.49311 > 192.168.2.1.1049: S 1663557394:1663557394(0) win 8192 
    10:27:32.347430 IP 10.232.2.6.49310 > 192.168.2.1.135: . ack 237 win 4341
    10:27:32.349868 IP 192.168.2.1.1049 > 10.232.2.6.49311: S 4249349881:4249349881(0) ack 1663557395 win 65535 
    10:27:32.703375 IP 10.232.2.6.49311 > 192.168.2.1.1049: . ack 1 win 4400
    10:27:33.082988 IP 10.232.2.6.49311 > 192.168.2.1.1049: P 1:165(164) ack 1 win 4400
    10:27:33.085494 IP 192.168.2.1.1049 > 10.232.2.6.49311: P 1:311(310) ack 165 win 65371
    10:27:33.438485 IP 10.232.2.6.49311 > 192.168.2.1.1049: P 165:701(536) ack 311 win 4323
    10:27:33.656696 IP 192.168.2.1.1049 > 10.232.2.6.49311: . ack 701 win 64835
    10:27:33.817237 IP 10.232.2.6.49311 > 192.168.2.1.1049: P 701:909(208) ack 311 win 4323
    10:27:33.819031 IP 192.168.2.1.1049 > 10.232.2.6.49311: P 311:42310:28:44.262937 IP 10.242.2.6.49312 > 192.168.2.1.1025: P 875:955(80) ack 407 win 4299
    10:28:44.264675 IP 192.168.2.1.1025 > 10.232.2.6.49312: P 407:487(80) ack 955 win 64581
    10:28:44.617034 IP 10.232.2.6.49312 > 192.168.2.1.1025: R 955:955(0) ack 487 win 0



    Thanks in advance [[:)]]
  • Sorry, I'm too busy at the moment to dig further into this. In the dump you posted everything looks fine at first sight. What exactly did Outlook say when you captured the packets?
  • Okay Man , Take your time but please go back once you are free ..
    Outlook still says :
    Trying to connect then after a while , disconnected 
    but as i said , when i usse ADSL connection , Connected directly

    Please Dont waste your time in replying now , unless you are free
    Appreciate your help and support alot

    My regards
    Sami
  • OK, back on this.

    We need to find out now if all the packets make it through to the other side of the tunnel. You need to install and run Wireshark on the Windows side to capture packets in parallel to a `tcpdump -ni tun0 -w asg.pcap` an the ASG. Select the "Astaro SSL VPN Adapter" as capture interface. There'll be no output on the ASG. Everything will be written into the file asg.pcap. PM me this file and the saved capture from the Windows side and I'll compare them.