iptables: Unknown error 4294967295

Discussion in 'Site & Server Administration' started by DnHype, Jul 28, 2008.

  1. #1
    I need to do NAT for my openvpn user to get internet.
    i use this command wich was working before iptables update to v 1.3.5

    and now gives me the error
    iptables: Unknown error 4294967295

    how to fix ?
     
    DnHype, Jul 28, 2008 IP
  2. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #2
    Try:

    /sbin/iptables -vA POSTROUTING -t nat -o venet0:0 -s 10.8.0.0/26 -d 0.0.0.0/0 -j SNAT --to-source 208.88.52.59
     
    zacharooni, Jul 28, 2008 IP
  3. DnHype

    DnHype Active Member

    Messages:
    1,011
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #3
    im now getting

    and i try with venet0 only and dotn work more .

    Please ?
     
    DnHype, Jul 29, 2008 IP
  4. hostingspeak

    hostingspeak Peon

    Messages:
    233
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do you have a router? If you do, why don't you let it perform the NAT instead of a PC? Maybe I don't understand your setup.
     
    hostingspeak, Jul 29, 2008 IP
  5. DnHype

    DnHype Active Member

    Messages:
    1,011
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #5
    this is to ebable the NAT for my vpn clients so they can get access to internet.
     
    DnHype, Jul 29, 2008 IP
  6. xous

    xous Active Member

    Messages:
    173
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #6
    xous, Jul 30, 2008 IP