Debian/Ubuntu - Проброс порта Ubuntu

Ответить
Аватара пользователя
айц

Debian/Ubuntu - Проброс порта Ubuntu

Сообщение айц »

Здравствуйте!

В наследство достались :

Локальная сеть, Win2003 сервер с АД (192.168.0.1) и шлюз на ubuntu 9.10 server (192.168.0.2).

На шлюзе настроен dhcp и 3proxy.

С линукс машинами я далеко не на "ты", потому и пишу.

Принесли ноутбук с WinXP хоум, на нем установлен клиент банк, работающий на 16900 порту, провайдером порт не закрыт.

Все, что мне нужно (возможно мне лишь кажется что это все) - открыть 16900 порт на шлюзе.


iptables -L




Chain INPUT (policy ACCEPT)

target prot opt source destination

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

ufw-before-logging-input all -- anywhere anywhere

ufw-before-input all -- anywhere anywhere

ufw-after-input all -- anywhere anywhere

ufw-after-logging-input all -- anywhere anywhere

ufw-reject-input all -- anywhere anywhere

ufw-track-input all -- anywhere anywhere

ACCEPT tcp -- anywhere anywhere tcp dpt:16900



Chain FORWARD (policy ACCEPT)

target prot opt source destination

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

ufw-before-logging-forward all -- anywhere anywhere

ufw-before-forward all -- anywhere anywhere

ufw-after-forward all -- anywhere anywhere

ufw-after-logging-forward all -- anywhere anywhere

ufw-reject-forward all -- anywhere anywhere



Chain OUTPUT (policy ACCEPT)

target prot opt source destination

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

DROP tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED

ufw-before-logging-output all -- anywhere anywhere

ufw-before-output all -- anywhere anywhere

ufw-after-output all -- anywhere anywhere

ufw-after-logging-output all -- anywhere anywhere

ufw-reject-output all -- anywhere anywhere

ufw-track-output all -- anywhere anywhere



Chain ufw-after-forward (1 references)

target prot opt source destination



Chain ufw-after-input (1 references)

target prot opt source destination



Chain ufw-after-logging-forward (1 references)

target prot opt source destination



Chain ufw-after-logging-input (1 references)

target prot opt source destination



Chain ufw-after-logging-output (1 references)

target prot opt source destination



Chain ufw-after-output (1 references)

target prot opt source destination



Chain ufw-before-forward (1 references)

target prot opt source destination



Chain ufw-before-input (1 references)

target prot opt source destination



Chain ufw-before-logging-forward (1 references)

target prot opt source destination



Chain ufw-before-logging-input (1 references)

target prot opt source destination



Chain ufw-before-logging-output (1 references)

target prot opt source destination



Chain ufw-before-output (1 references)

target prot opt source destination



Chain ufw-reject-forward (1 references)

target prot opt source destination



Chain ufw-reject-input (1 references)

target prot opt source destination



Chain ufw-reject-output (1 references)

target prot opt source destination



Chain ufw-track-input (1 references)

target prot opt source destination



Chain ufw-track-output (1 references)

target prot opt source destination
Ответить

Вернуться в «Общий по Linux»