Prisijungti

iptables

  • 13 Bir '07

isirasiau svieziai ubuntu 7.04 noriu ikelt iptables ir va ka man meta
kame beda ((

WARNING: Error inserting x_tables (/lib/modules/2.6.20-15-generic/kernel/net/netfilter/x_tables.ko): Operation not permitted
FATAL: Error inserting ip_tables (/lib/modules/2.6.20-15-generic/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.3.6: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.

  • 13 Bir '07

Prieš komandą reikia parašyti root.

Plačiau apie tai skaityk:
http://lt.wikibooks.org/wiki/Ubuntu:Kas_yra_Super_vartotojas%3F

  • 13 Bir '07

nu padariau sudo password root ar kaskaip daba nepamenu
prisijungiau su komanda "su"
ipastinau sita, cia turi ineta lanuj serint, bet tik skype lanuj veikia o webu nekrauna

!/bin/sh

modprobe ip_tables
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ip_conntrack_irc
modprobe iptable_nat
modprobe ip_nat_ftp
modprobe ip_nat_irc

echo "1" > /proc/sys/net/ipv4/ip_forward

iptables -F INPUT
iptables -P INPUT ACCEPT
iptables -F OUTPUT
iptables -P OUTPUT ACCEPT
iptables -F FORWARD
iptables -P FORWARD DROP
iptables -t nat -F

iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -j LOG
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
kaip padaryt kad webus krautu lanuj

  • 13 Bir '07

nesuprantu vienur raso rasyt
echo "1" > /proc/sys/net/ipv4/ip_forward
o kitur
echo 1 > /proc/sys/net/ipv4/ip_forward
tai kaip dabar turi but????

  • 13 Bir '07

ka daryt nekrauna webu, skype tik veikia lanuj

  • 13 Bir '07

Pasinaudok ubuntu-firewall.

  • 13 Bir '07

nu parsisiunciau ubuntu-firewall ir ka dabar daryt?

  • 13 Bir '07

Skaityk ubuntu-firewall-README ir čia.

  • 13 Bir '07

gerai butu kad mokeciau anglu kalba...

  • 13 Bir '07

daejau iki tos vietos kur reik configint, nezinau ka ten rasyt...

  • 29 Bir

Cialis Kamagra Kaufen [url=https://bbuycialisss.com/]Buy Cialis[/url] Pfizer Viagra 100mg <a href=https://bbuycialisss.com/#>Buy Cialis</a> Site Achat Cialis

Atsakyti