Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 28.02.2020 - 18:42


1to1 NAT

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
sef
Post subject: 1to1 NAT  PostPosted: 27.02.2012 - 16:32 #96978
Basic


Joined: Feb 18, 2007
Posts: 418

Zdravim. Chcel by som prejst z CentOS na Ubuntu server. Vsetko uz mam pripravene len 1:1 NAT este nie. V CentOS to bolo robene pridanim virtual eth a na ubuntu je pomocou IPTABLES. Len pre overenie je to tento prikaz? iptables -t nat -A PREROUTING -i eth0 -d 10.0.0.1 -j DNAT --to-destination 192.168.1.1?

Dakujem.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
JOFO
Post subject: RE: 1to1 NAT  PostPosted: 27.02.2012 - 20:17 #96982
Majster


Joined: Jan 08, 2006
Posts: 2546

akchces robit 1:1 NAT tak potrebujes SNAT aj DNAT pre kazdu IPcku..
Code: › iptables -t nat -A PREROUTING -d Verejna_IP -j DNAT --to-destination Lokalna_IP
iptables -t nat -A POSTROUTING -s Lokalna_IP -j SNAT --to-source Verejna_IP

mozes tam hodit aj vstupny a vystupny iface cez prepinac -i a -o
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
zelmar
Post subject: RE: 1to1 NAT  PostPosted: 27.02.2012 - 22:33 #96996
Guru


Joined: Okt 23, 2005
Posts: 1030
Location: /etc/bin/ladin
V oboch je to riesene identicky a to absolutne takze aksi kvoli tomu menil distro (a este tak nestastne ze z kaluze do blata) tak absolutne zbytocne.
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
rado3105
Post subject: RE: 1to1 NAT  PostPosted: 27.02.2012 - 23:07 #97000
Majster


Joined: Júl 11, 2008
Posts: 2311

s ubuntu tiez nemam dobre skusenosti(caste pady...), momentalne mam debian squeeze ten ide podstatne bezproblemovejsie...
problem mam jedine s ext3, uz len cakam kedy bude riadne funkcna online oprava v btrfs a hned to prehadzujem....

zas na druhej strane pouzivatelov ubuntu server vyrazne pribuda aj medzi velkymi hracmi...
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Dikobraz
Post subject: RE: 1to1 NAT  PostPosted: 29.02.2012 - 12:19 #97037
Guru


Joined: Okt 30, 2003
Posts: 1130
Location: Velke Kapusany
A co keby si skusil radsej vyattu?
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
sef
Post subject: RE: 1to1 NAT  PostPosted: 29.02.2012 - 14:56 #97041
Basic


Joined: Feb 18, 2007
Posts: 418

ubuntu fungoval 3 x po 5 minut a uz isiel zo siete. Skusim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rado3105
Post subject: RE: 1to1 NAT  PostPosted: 29.02.2012 - 15:47 #97044
Majster


Joined: Júl 11, 2008
Posts: 2311

dlhsie planujem skusit zentyal a hlavne clearos(ktory vyzera velmi zaujimavo)...
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)