Change virtual server rule from console

Home Page Forums Network Management Networking Change virtual server rule from console

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44295
    itm4s14s
    Member

    Is it possible to change virtual server rule from console?
    A configuration error drops access to web interface.

    #53820
    redfive
    Participant

    Of course yes, connect via console and type

    iptables -t nat -nL --line-number

    You’ll see all rules, change yours in PREROUTING (change isn’t persistent at reboot)

    iptables -t nat - D PREROUTING (wrong rule number)

    access again via web interface and correct the wrong one.
    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.