Change virtual server rule from console

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

This topic contains 0 replies, has 0 voices, and was last updated by  itm4s14s 3 years, 10 months ago.

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.