Announcement

Collapse
No announcement yet.

How tell firefox to use the ipsec tunnel?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How tell firefox to use the ipsec tunnel?

    I setup the l2tp tunnel with openswan and xl2tpd in kubuntu 13.04, the system is connected with ADSL router with ip address 192.168.1.1 which is the default gateway for the system, the system ip addess is 192.168.1.10, the tunnel is estableshed and the xltped is up and connected to the vpn server with interface ppp0, presenetly the traffic didn't use the ipsec tunnel and only use the defualt gateway 192.168.1.1, i want to setup in the way that only the firefox use the ipsec tunnel, is it possible please?
    These are some files of ipsec tunnel:
    this is the xl2tpd.log:
    CHAP authentication succeeded
    local IP address 10.128.0.3
    remote IP address 10.128.0.1
    primary DNS address 10.128.0.1
    secondary DNS address 10.128.0.1
    Terminating connection due to lack of activity.
    Connect time 30.0 minutes.
    Sent 0 bytes, received 0 bytes.
    Script /etc/ppp/ip-down started (pid 4569)
    This is ifconfig:
    eth0 Link encap:Ethernet HWaddr 00:07:e9:a8:ea:93
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::207:e9ff:fea8:ea93/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1481 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1632 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:555421 (555.4 KB) TX bytes:233129 (233.1 KB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:1190 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1190 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:223253 (223.2 KB) TX bytes:223253 (223.2 KB)

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:10.128.0.3 P-t-P:10.128.0.1 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:81 (81.0 B) TX bytes:72 (72.0 B)
    This is route -n output:
    # route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
    10.128.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
    91.121.166.108 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
    192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
Working...
X