Current time: 11-24-2024, 05:13 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DEV] Модуль ispCP-nginx (koffu)
Author Message
user Offline
Junior Member
*

Posts: 75
Joined: Nov 2010
Reputation: 0
Post: #30
RE: [DEV] Модуль ispCP-nginx (koffu)
Спасибо,

теперь ошибка

FATAL: Could not load /lib/modules/2.6.26-2-xen-686/modules.dep: No such file or directory
iptables v1.4.2: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


это на


Quote:Добавляем в Ваш скрипт iptables перенаправление всего входящего на сервер трафика по 80 порту на 81 порт
# iptables -t nat -A PREROUTING ! -s 127.0.0.1 -d ваш айпи -p tcp --dport 80 -j REDIRECT --to-ports 81
(This post was last modified: 12-09-2010 01:53 AM by user.)
12-09-2010 01:51 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [DEV] Модуль ispCP-nginx (koffu) - user - 12-09-2010 01:51 AM

Forum Jump:


User(s) browsing this thread: 14 Guest(s)