IpTables Error

Discussion in 'Site & Server Administration' started by DnHype, May 30, 2008.

  1. #1
    iptables: Unknown error 4294967295

    After so search on google, look like i need to recompile my Kernel.
    This is on a VPS when i try to type this command

    iptables -t nat -A POSTROUTING -o eth0 -s 10.8.0.0/24 -j MASQUERADE

    To enable VPN Nat.

    My Kernel Version on my VPS is
    2.6.18-53.1.6.el5.028stab053.6

    And on my Dedicated it's
    2.6.18-53.1.19.el5

    On my Dedicated i didn't need to do anything special.
    however this freaking vps s*ck a bit :)

    I never Compil, or recompile a kernel, anyone can guide me please.
    I realy need my vpn access from this vps !
     
    DnHype, May 30, 2008 IP
  2. st1905

    st1905 Well-Known Member

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    135
    #2
    You can solve this problem with following command

    iptables -t nat -A POSTROUTING -s 10.8.0.0/26 -d 0/0 -o venet0 -j SNAT --to-source this is your vps ip
    Code (markup):
    Regards
     
    st1905, May 30, 2008 IP
    DnHype likes this.
  3. DnHype

    DnHype Active Member

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


    Thank God, Work like charm !

    Try many solution and that one fixd all my problem !
    Rep + My friend :)
     
    DnHype, May 30, 2008 IP