Bildiğiniz Gibi Eskiden Sadece P2P Acığı Vardı Filesde Fakat World Port Da Çıktı Bundan Önceki Konumda Sadece P2P Çözümü Olan Firewall Konusunu Paylaşmıştım.Fakat Yapmayı Bilmeyenler İçin Pek Faydalı Olmadı Bu Konumda Her Şeyi Daha Detaylı Açıkladım.Güvenli Bir Oyun İstiyorsanız Bunları Uygulayın
İlk Önce P2P Kapatalım
Oyun dosyalarınıza yani filezilla'dan /usr/game klasörüne giriyorsunuz ilk olarak auth klasörünün içinde CONFIG dosyasını düzenliyorsunuz en alt satıra
şeklinde bir satır ekliyorsunuz "serverip" kısmına sizin serverinizin ip'si gelecektir.
Aynı işlemleri alttaki klasörlerdeki bütün CONFIG dosyalarınıza uygulayacaksınız. Sonra reset atın ve sorunsuz bir oyun sizi beklesin. Hacki denemek isteyenler Metin2FUN oyununda deneyebilirler çalışmayacaktır.
Bütün CONFIG dosyaları yolları :
/usr/game/channel/first
/usr/game/channel/game1_1
/usr/game/channel/game1_2
/usr/game/channel/game1_3
/usr/game/channel/game2
/usr/game/channel/game61
/usr/game/channel/game99
Şimdi WorldPortta Sıra
Eğer Port Yüklemişseniz Altaki Kodu Yazmanıza Gerek Yok
Bittikten Sonra
Sonra
Altakileri ekleyin
KERNEL BAŞARIYLA KURULDU DEVAM EDİYORUZ
Evet Burda Firewall Kurduk Devam ediyoruz
Bunları Ekliyoruz
Sonra bunu yazıyoruz
ŞİMDİ PORTLARI EKLEYELIM
Altta Yazan Serverip Yazan Yere İp nizi Yazın
İpnizi yazdıktan sonra bunu kopyalıyoruz putty de fareyle sağ tıklıyoruz.otomatik olarak yapıştırır.
Reboot At!
Serverine Start Ver!
ÇOK UĞRAŞTIM YORUM YAPARSANIZ YADA REP WERIRSENIZ SEVINIRIM...
Standart Peep To Peep (P2P) ve World Port Açıgını Kapatmak: Server Hacklenmemesi İçin
Metin2 sunucuları üzerinde çalışan sistemlerin güvenliği oldukça kritiktir. Özellikle P2P (Peer to Peer) bağlantıları ve World portlarının açık kalması, sunucuların dış tehditlerle karşılaşmasına neden olabilir. Bu yazıda, P2P ve World portlarını güvenli hale getirmek, server hacklenmesini önlemek için gerekli adımlardan bahsedeceğiz.
P2P ve World Nedir?
Metin2 sunucularında iki temel port yapısı kullanılır: World ve P2P. World portu, oyuncuların doğrudan sunucuya bağlanmasını sağlar. P2P ise, sunucu içi bağlantıları yönetir ve genellikle oyun içi veri aktarımı için kullanılır. Ancak bu portların standart ayarlarla çalışması, bazı güvenlik açıklarına neden olabilir.
Sunucu Güvenliği Neden Önemlidir?
Metin2 gibi oyun sunucuları, genellikle DDoS saldırılarına, yetkisiz erişimlere ve hileli oynama girişimlerine maruz kalır. Sunucu güvenliği sağlanmadığında, saldırganlar sistem dosyalarına erişebilir, oyun içi verileri değiştirebilir veya sunucuyu tamamen ele geçirebilirler. Bu tür olaylar, hem oyun deneyimini bozar hem de sunucu sahipleri için ciddi maddi kayıplara yol açabilir.
P2P ve World Portlarının Kapatılması / Değiştirilmesi
Güvenlik açıklarını en aza indirmek için öncelikle World ve P2P portlarını standart dışı bir şekilde yapılandırmalısınız. Bu işlem, port numaralarının değiştirilmesi veya belirli IP adreslerinden gelen bağlantılara izin verilmesi şeklinde yapılabilir.
Adım 1: Sunucu yapılandırma dosyalarında bulunan game/core dizininde yer alan locale_inc.txt ve serverinfo.py dosyalarını kontrol edin.
Adım 2: World portunu standart 13000 yerine farklı bir port numarası ile tanımlayın.
Adım 3: P2P portunu da benzer şekilde standart 13001 yerine başka bir porta yönlendirin.
Adım 4: Firewall ayarlarınızı güncelleyin ve sadece belirli IP adreslerinden gelen P2P trafiğine izin verin.
Saldırganlara Karşı Ekstra Koruma
Portları değiştirmenin yanı sıra, IP filtreleme, güvenlik duvarı kuralları ve log takibi gibi yöntemlerle sunucu güvenliğini artırabilirsiniz. Ayrıca, düzenli olarak Metin2 sunucu güncellemelerini takip ederek, bilinen açıkların kapatıldığı yeni sürümleri kullanmalısınız.
Metin2 Client Paketleri ve Güvenlik
Client paketlerinizi hazırlarken, kullanıcıların Metin2 sunucularına bağlanırken doğru portları kullandıklarından emin olun. Metin2Lobby.com üzerinden sunulan client pack ve custom client çözümleri, kullanıcı dostu yapılar sayesinde daha güvenli bağlantılar sağlar. Ancak bu paketlerin de güvenli port yapılandırmasıyla birlikte kullanılması önemlidir.
Sonuç
Standart P2P ve World portlarını kapatmak ya da değiştirmek, Metin2 sunucularının güvenliğini artırmada kritik adımlardandır. Doğru yapılandırma ve düzenli güvenlik kontrolleri ile sunucunuzun hedef alınmasını önleyebilir, kullanıcılarınızın daha güvenli bir ortamda oynamasını sağlayabilirsiniz.
Closing Standard Peep To Peep (P2P) and World Ports: Preventing Server Hacks
Metin2 servers operate with critical system security requirements. Particularly, open P2P (Peer to Peer) connections and World ports can expose servers to external threats. In this article, we will discuss steps to secure P2P and World ports and prevent server hacks.
What are P2P and World?
In Metin2 servers, two main port structures are used: World and P2P. The World port allows players to connect directly to the server. P2P manages internal server communications and is generally used for in-game data transfer. However, running these ports under standard settings may lead to security vulnerabilities.
Why Is Server Security Important?
Game servers like Metin2 are often targets of DDoS attacks, unauthorized access attempts, and cheating efforts. Without proper security, attackers can gain access to system files, alter in-game data, or completely take over the server. Such incidents not only disrupt gameplay but also result in serious financial losses for server operators.
Closing / Changing P2P and World Ports
To minimize security risks, you should configure World and P2P ports differently than default. This can be achieved by changing port numbers or allowing connections from specific IP addresses only.
Step 1: Check configuration files located in game/core such as locale_inc.txt and serverinfo.py.
Step 2: Set the World port to a different number instead of the default 13000.
Step 3: Similarly, redirect the P2P port from standard 13001 to another port.
Step 4: Update your firewall settings to allow P2P traffic only from certain IP addresses.
Extra Protection Against Attackers
Besides changing ports, you can enhance server security through IP filtering, firewall rules, and log monitoring. Additionally, regularly check Metin2 server updates and use newer versions that patch known vulnerabilities.
Metin2 Client Packages and Security
When preparing client packages, ensure users connect to the Metin2 server using correct ports. Client packs and custom clients provided via Metin2Lobby.com offer user-friendly structures for more secure connections. However, it is crucial to implement secure port configurations alongside these packages.
Conclusion
Closing or changing standard P2P and World ports is critical in enhancing Metin2 server security. Proper configuration and regular security checks help prevent your server from being targeted and provide a safer environment for your users.
İlk Önce P2P Kapatalım
Oyun dosyalarınıza yani filezilla'dan /usr/game klasörüne giriyorsunuz ilk olarak auth klasörünün içinde CONFIG dosyasını düzenliyorsunuz en alt satıra
Kod:
adminpage_ip1: serverip
şeklinde bir satır ekliyorsunuz "serverip" kısmına sizin serverinizin ip'si gelecektir.
Aynı işlemleri alttaki klasörlerdeki bütün CONFIG dosyalarınıza uygulayacaksınız. Sonra reset atın ve sorunsuz bir oyun sizi beklesin. Hacki denemek isteyenler Metin2FUN oyununda deneyebilirler çalışmayacaktır.
Bütün CONFIG dosyaları yolları :
/usr/game/channel/first
/usr/game/channel/game1_1
/usr/game/channel/game1_2
/usr/game/channel/game1_3
/usr/game/channel/game2
/usr/game/channel/game61
/usr/game/channel/game99
Şimdi WorldPortta Sıra
Eğer Port Yüklemişseniz Altaki Kodu Yazmanıza Gerek Yok
Kod:
portsnap fetch extract
Bittikten Sonra
Kod:
# cd /usr/src/sys/i386/conf # cp GENERIC FIREWALL
Sonra
Kod:
# ee FIREWALL
Altakileri ekleyin
Kod:
options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=15 options PAE
KERNEL BAŞARIYLA KURULDU DEVAM EDİYORUZ
Kod:
# cd /usr/src # make kernel KERNCONF=FIREWALL
Evet Burda Firewall Kurduk Devam ediyoruz
Kod:
# ee /etc/rc.conf
Bunları Ekliyoruz
Kod:
firewall_enable="YES" firewall_script="/etc/ipfw.rules"8
Sonra bunu yazıyoruz
ŞİMDİ PORTLARI EKLEYELIM
Kod:
#cd /etc #ee ipfw.rules
Altta Yazan Serverip Yazan Yere İp nizi Yazın
Kod:
IPF="ipfw -q add" ipfw -q -f flush #P2P FiXX 1forum.us $IPF 4 allow all from serverip to any 12001 $IPF 5 allow all from 127.0.0.0/8 to any 12001 $IPF 6 deny all from any to me 12001 $IPF 7 allow all from serverip to any 14000 $IPF 8 allow all from 127.0.0.0/8 to any 14000 $IPF 9 deny all from any to me 14000 $IPF 10 allow all from serverip to any 14001 $IPF 11 allow all from 127.0.0.0/8 to any 14001 $IPF 12 deny all from any to me 14001 $IPF 13 allow all from serverip to any 14002 $IPF 14 allow all from 127.0.0.0/8 to any 14002 $IPF 15 deny all from any to me 14002 $IPF 16 allow all from serverip to any 14003 $IPF 17 allow all from 127.0.0.0/8 to any 14003 $IPF 18 deny all from any to me 14003 $IPF 19 allow all from serverip to any 14004 $IPF 20 allow all from 127.0.0.0/8 to any 14004 $IPF 21 deny all from any to me 14004 $IPF 22 allow all from serverip to any 14061 $IPF 23 allow all from 127.0.0.0/8 to any 14061 $IPF 24 deny all from any to me 14061 $IPF 25 allow all from serverip to any 14099 $IPF 26 allow all from 127.0.0.0/8 to any 14099 $IPF 27 deny all from any to me 14099 $IPF 28 allow all from serverip to any 17000 $IPF 29 allow all from 127.0.0.0/8 to any 17000 $IPF 30 deny all from any to me 17000 $IPF 31 allow all from serverip to any 17001 $IPF 32 allow all from 127.0.0.0/8 to any 17001 $IPF 33 deny all from any to me 17001 $IPF 34 allow all from serverip to any 17002 $IPF 35 allow all from 127.0.0.0/8 to any 17002 $IPF 36 deny all from any to me 17002 $IPF 37 allow all from serverip to any 17003 $IPF 38 allow all from 127.0.0.0/8 to any 17003 $IPF 39 deny all from any to me 17003 $IPF 40 allow all from serverip to any 17004 $IPF 41 allow all from 127.0.0.0/8 to any 17004 $IPF 42 deny all from any to me 17004 $IPF 43 allow all from serverip to any 17061 $IPF 44 allow all from 127.0.0.0/8 to any 17061 $IPF 45 deny all from any to me 17061 $IPF 46 allow all from serverip to any 17099 $IPF 47 allow all from 127.0.0.0/8 to any 17099 $IPF 48 deny all from any to me 17099 $IPF 49 allow all from serverip to any 19000 $IPF 50 allow all from 127.0.0.0/8 to any 19000 $IPF 51 deny all from any to me 19000 $IPF 52 allow all from serverip to any 19001 $IPF 53 allow all from 127.0.0.0/8 to any 19001 $IPF 54 deny all from any to me 19001 $IPF 55 allow all from serverip to any 19002 $IPF 56 allow all from 127.0.0.0/8 to any 19002 $IPF 57 deny all from any to me 19002 $IPF 58 allow all from serverip to any 19003 $IPF 59 allow all from 127.0.0.0/8 to any 19003 $IPF 60 deny all from any to me 19003 $IPF 61 allow all from serverip to any 19004 $IPF 62 allow all from 127.0.0.0/8 to any 19004 $IPF 63 deny all from any to me 19004 $IPF 64 allow all from serverip to any 19061 $IPF 65 allow all from 127.0.0.0/8 to any 19061 $IPF 66 deny all from any to me 19061 $IPF 67 allow all from serverip to any 19099 $IPF 68 allow all from 127.0.0.0/8 to any 19099 $IPF 69 deny all from any to me 19099 $IPF 70 allow all from serverip to any 21000 $IPF 71 allow all from 127.0.0.0/8 to any 21000 $IPF 72 deny all from any to me 21000 $IPF 73 allow all from serverip to any 21001 $IPF 74 allow all from 127.0.0.0/8 to any 21001 $IPF 75 deny all from any to me 21001 $IPF 76 allow all from serverip to any 21002 $IPF 77 allow all from 127.0.0.0/8 to any 21002 $IPF 78 deny all from any to me 21002 $IPF 79 allow all from serverip to any 21003 $IPF 80 allow all from 127.0.0.0/8 to any 21003 $IPF 81 deny all from any to me 21003 $IPF 82 allow all from serverip to any 21004 $IPF 83 allow all from 127.0.0.0/8 to any 21004 $IPF 84 deny all from any to me 21004 $IPF 85 allow all from serverip to any 21061 $IPF 86 allow all from 127.0.0.0/8 to any 21061 $IPF 87 deny all from any to me 21061 $IPF 88 allow all from serverip to any 21099 $IPF 89 allow all from 127.0.0.0/8 to any 21099 $IPF 90 deny all from any to me 21099 #Standart Regeln $IPF 10000 allow all from any to any via lo0 $IPF 20000 deny all from any to 127.0.0.0/8 $IPF 30000 deny all from 127.0.0.0/8 to any $IPF 40000 allow all from any to any
İpnizi yazdıktan sonra bunu kopyalıyoruz putty de fareyle sağ tıklıyoruz.otomatik olarak yapıştırır.
Reboot At!
Serverine Start Ver!
ÇOK UĞRAŞTIM YORUM YAPARSANIZ YADA REP WERIRSENIZ SEVINIRIM...
Standart Peep To Peep (P2P) ve World Port Açıgını Kapatmak: Server Hacklenmemesi İçin
Metin2 sunucuları üzerinde çalışan sistemlerin güvenliği oldukça kritiktir. Özellikle P2P (Peer to Peer) bağlantıları ve World portlarının açık kalması, sunucuların dış tehditlerle karşılaşmasına neden olabilir. Bu yazıda, P2P ve World portlarını güvenli hale getirmek, server hacklenmesini önlemek için gerekli adımlardan bahsedeceğiz.
P2P ve World Nedir?
Metin2 sunucularında iki temel port yapısı kullanılır: World ve P2P. World portu, oyuncuların doğrudan sunucuya bağlanmasını sağlar. P2P ise, sunucu içi bağlantıları yönetir ve genellikle oyun içi veri aktarımı için kullanılır. Ancak bu portların standart ayarlarla çalışması, bazı güvenlik açıklarına neden olabilir.
Sunucu Güvenliği Neden Önemlidir?
Metin2 gibi oyun sunucuları, genellikle DDoS saldırılarına, yetkisiz erişimlere ve hileli oynama girişimlerine maruz kalır. Sunucu güvenliği sağlanmadığında, saldırganlar sistem dosyalarına erişebilir, oyun içi verileri değiştirebilir veya sunucuyu tamamen ele geçirebilirler. Bu tür olaylar, hem oyun deneyimini bozar hem de sunucu sahipleri için ciddi maddi kayıplara yol açabilir.
P2P ve World Portlarının Kapatılması / Değiştirilmesi
Güvenlik açıklarını en aza indirmek için öncelikle World ve P2P portlarını standart dışı bir şekilde yapılandırmalısınız. Bu işlem, port numaralarının değiştirilmesi veya belirli IP adreslerinden gelen bağlantılara izin verilmesi şeklinde yapılabilir.
Adım 1: Sunucu yapılandırma dosyalarında bulunan game/core dizininde yer alan locale_inc.txt ve serverinfo.py dosyalarını kontrol edin.
Adım 2: World portunu standart 13000 yerine farklı bir port numarası ile tanımlayın.
Adım 3: P2P portunu da benzer şekilde standart 13001 yerine başka bir porta yönlendirin.
Adım 4: Firewall ayarlarınızı güncelleyin ve sadece belirli IP adreslerinden gelen P2P trafiğine izin verin.
Saldırganlara Karşı Ekstra Koruma
Portları değiştirmenin yanı sıra, IP filtreleme, güvenlik duvarı kuralları ve log takibi gibi yöntemlerle sunucu güvenliğini artırabilirsiniz. Ayrıca, düzenli olarak Metin2 sunucu güncellemelerini takip ederek, bilinen açıkların kapatıldığı yeni sürümleri kullanmalısınız.
Metin2 Client Paketleri ve Güvenlik
Client paketlerinizi hazırlarken, kullanıcıların Metin2 sunucularına bağlanırken doğru portları kullandıklarından emin olun. Metin2Lobby.com üzerinden sunulan client pack ve custom client çözümleri, kullanıcı dostu yapılar sayesinde daha güvenli bağlantılar sağlar. Ancak bu paketlerin de güvenli port yapılandırmasıyla birlikte kullanılması önemlidir.
Sonuç
Standart P2P ve World portlarını kapatmak ya da değiştirmek, Metin2 sunucularının güvenliğini artırmada kritik adımlardandır. Doğru yapılandırma ve düzenli güvenlik kontrolleri ile sunucunuzun hedef alınmasını önleyebilir, kullanıcılarınızın daha güvenli bir ortamda oynamasını sağlayabilirsiniz.
Closing Standard Peep To Peep (P2P) and World Ports: Preventing Server Hacks
Metin2 servers operate with critical system security requirements. Particularly, open P2P (Peer to Peer) connections and World ports can expose servers to external threats. In this article, we will discuss steps to secure P2P and World ports and prevent server hacks.
What are P2P and World?
In Metin2 servers, two main port structures are used: World and P2P. The World port allows players to connect directly to the server. P2P manages internal server communications and is generally used for in-game data transfer. However, running these ports under standard settings may lead to security vulnerabilities.
Why Is Server Security Important?
Game servers like Metin2 are often targets of DDoS attacks, unauthorized access attempts, and cheating efforts. Without proper security, attackers can gain access to system files, alter in-game data, or completely take over the server. Such incidents not only disrupt gameplay but also result in serious financial losses for server operators.
Closing / Changing P2P and World Ports
To minimize security risks, you should configure World and P2P ports differently than default. This can be achieved by changing port numbers or allowing connections from specific IP addresses only.
Step 1: Check configuration files located in game/core such as locale_inc.txt and serverinfo.py.
Step 2: Set the World port to a different number instead of the default 13000.
Step 3: Similarly, redirect the P2P port from standard 13001 to another port.
Step 4: Update your firewall settings to allow P2P traffic only from certain IP addresses.
Extra Protection Against Attackers
Besides changing ports, you can enhance server security through IP filtering, firewall rules, and log monitoring. Additionally, regularly check Metin2 server updates and use newer versions that patch known vulnerabilities.
Metin2 Client Packages and Security
When preparing client packages, ensure users connect to the Metin2 server using correct ports. Client packs and custom clients provided via Metin2Lobby.com offer user-friendly structures for more secure connections. However, it is crucial to implement secure port configurations alongside these packages.
Conclusion
Closing or changing standard P2P and World ports is critical in enhancing Metin2 server security. Proper configuration and regular security checks help prevent your server from being targeted and provide a safer environment for your users.
