{"id":51039003,"url":"https://github.com/ipmartnetwork/6to4-gre6-multi","last_synced_at":"2026-06-22T09:01:40.800Z","repository":{"id":238164365,"uuid":"796010395","full_name":"iPmartNetwork/6to4-Gre6-multi","owner":"iPmartNetwork","description":"تانل برای یک سرور ایران و چند سرور خارج و برعکس","archived":false,"fork":false,"pushed_at":"2024-05-04T17:31:50.000Z","size":25,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T01:25:02.633Z","etag":null,"topics":["6to4-gre6"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iPmartNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-04T16:59:28.000Z","updated_at":"2025-08-19T07:17:06.000Z","dependencies_parsed_at":"2024-05-04T17:55:53.519Z","dependency_job_id":null,"html_url":"https://github.com/iPmartNetwork/6to4-Gre6-multi","commit_stats":null,"previous_names":["ipmartnetwork/6to4-gre6-multi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iPmartNetwork/6to4-Gre6-multi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2F6to4-Gre6-multi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2F6to4-Gre6-multi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2F6to4-Gre6-multi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2F6to4-Gre6-multi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iPmartNetwork","download_url":"https://codeload.github.com/iPmartNetwork/6to4-Gre6-multi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iPmartNetwork%2F6to4-Gre6-multi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34641636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["6to4-gre6"],"created_at":"2026-06-22T09:01:39.807Z","updated_at":"2026-06-22T09:01:40.789Z","avatar_url":"https://github.com/iPmartNetwork.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n\u003cimg width=\"160\" height=\"160\"  alt=\"XPanel\" src=\"https://github.com/iPmartNetwork/iPmart-SSH/blob/main/images/logo.png\"\u003e\n\u003c/picture\u003e\n  \u003c/p\u003e \n\u003cp align=\"center\"\u003e\n\u003ch1 align=\"center\"/\u003e6to4-Gre6-multi\u003c/h1\u003e\n\u003ch6 align=\"center\"\u003e\nتانل برای یک سرور ایران و چند سرور خارج و برعکس \n\u003ch6\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e===========================================================================\n\n\nتمامی مراحل رو خط به خط برید جلو بجای IP.iran و IP.kharej ای پی های سرور خودتون رو وارد کنید\n\nابتدا در سرور ایران باید این دستورات رو وارد کنیم تا تانل 6to4 در سرور ایران ، برقرار شود .\n\n\n\n## Iran\n\n## کد اول 6to4 tunnel\n\n```bash\nip tunnel add 6to4tun_IR mode sit remote IP.KHARJ local ip.IRAN\nip -6 addr add 2001:470:1f10:e1f::1/64 dev 6to4tun_IR\nip link set 6to4tun_IR mtu 1480\nip link set 6to4tun_IR up\n```\n\n## Iran\n\n## کد دوم 6to4 tunnel\n\n```bash\nip tunnel add 6to4tun_IR2 mode sit remote IP.KHARJ2 local ip.IRAN\nip -6 addr add 2001:470:1f10:e1f::3/64 dev 6to4tun_IR2\nip link set 6to4tun_IR2 mtu 1480\nip link set 6to4tun_IR2 up\n```\n\n\n\n\u003cp align=\"center\"\u003e===========================================================================\n\n\nبتدا در سرور ایران باید این دستورات رو وارد کنیم تا تانل Gre6 در سرور ایران ، برقرار شود .\n\n\n## Iran\n\n## کد اول GRE tunnel\n\n```bash\nip -6 tunnel add GRE6Tun_IR mode ip6gre remote 2001:470:1f10:e1f::2 local 2001:470:1f10:e1f::1\nip addr add 172.16.1.1/30 dev GRE6Tun_IR\nip link set GRE6Tun_IR mtu 1436\nip link set GRE6Tun_IR up\n```\n\n## Iran\n\n\n## کد دوم GRE tunnel\n\n```bash\nip -6 tunnel add GRE6Tun_IR2 mode ip6gre remote 2001:470:1f10:e1f::4 local 2001:470:1f10:e1f::3\nip addr add 172.16.2.1/30 dev GRE6Tun_IR2\nip link set GRE6Tun_IR2 mtu 1436\nip link set GRE6Tun_IR2 up\n```\n\n\n\n\u003cp align=\"center\"\u003e===========================================================================\n\n\n## Iran\n\n\n## فقط در سرور ایران وارد میکنیم \n\n```bash\niptables -F\niptables -P INPUT ACCEPT\niptables -P FORWARD ACCEPT\niptables -P OUTPUT ACCEPT\niptables -I INPUT -p tcp --dport 22 -j ACCEPT\niptables -t nat -A PREROUTING -p tcp ! --dport 22 -j DNAT --to-destination 172.16.1.2\n```\n\n\n\u003cp align=\"center\"\u003e===========================================================================\n\n\n\n# کد های مربوط به سرورهای خارج 1 و 2\n\n\nبجای IP.iran و IP.kharej ای پی های سرور خودتون رو وارد کنید\n\n\n\n\n\n\n## Karej1\n\n## کد اول 6to4 tunnel\n\n\n\n```bash\nip tunnel add 6to4tun_KH mode sit remote IP.Iran local ip.Kharej\nip -6 addr add 2001:470:1f10:e1f::2/64 dev 6to4tun_KH\nip link set 6to4tun_KH mtu 1480\nip link set 6to4tun_KH up\n```\n\n## Kharej1\n\n## کد دوم Gre6 tunnel\n\n```bash\nip -6 tunnel add GRE6Tun_KH mode ip6gre remote 2001:470:1f10:e1f::1 local 2001:470:1f10:e1f::2\nip addr add 172.16.1.2/30 dev GRE6Tun_KH\nip link set GRE6Tun_KH mtu 1436\nip link set GRE6Tun_KH up\n```\n\n\n\n\u003cp align=\"center\"\u003e===========================================================================\n\n\n\n\n## Karej2\n\n## کد اول 6to4 tunnel\n\n\n\n```bash\nip tunnel add 6to4tun_KH mode sit remote IP.Iran local ip.Kharej\nip -6 addr add 2001:470:1f10:e1f::4 dev 6to4tun_KH\nip link set 6to4tun_KH mtu 1480\nip link set 6to4tun_KH up\n```\n\n## Kharej2\n\n## کد دوم Gre6 tunnel\n\n```bash\nip -6 tunnel add GRE6Tun_KH mode ip6gre remote 2001:470:1f10:e1f::3 local 2001:470:1f10:e1f::4\nip addr add 172.16.2.2/30 dev GRE6Tun_KH\nip link set GRE6Tun_KH mtu 1436\nip link set GRE6Tun_KH up\n```\n\n\n\n\n\n# تلگرام\n\n[@ipmart_network](https://t.me/ipmart_network)\n\n[@iPmart Group](https://t.me/ipmartnetwork_gp)\n\n\n\n\n # حمایت از ما :hearts:\nحمایت های شما برای ما دلگرمی بزرگی است\u003cbr\u003e \n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://plisio.net/donate/kB7QU7f7\" target=\"_blank\"\u003e\u003cimg src=\"https://plisio.net/img/donate/donate_light_icons_mono.png\" alt=\"Donate Crypto on Plisio\" width=\"240\" height=\"80\" /\u003e\u003c/a\u003e\u003cbr\u003e\n\t\n|                    TRX                   |                       BNB                         |                    Litecoin                       |\n| ---------------------------------------- |:-------------------------------------------------:| -------------------------------------------------:|\n| ```TJbTYV1fFo2485sYMyajxGPLFzxmNmPrNA``` |  ```0x4af3de9b303a8d43105e284823d95b4c600961a3``` | ```MPrkzFiNtw4Rg67bbZB6gCxa9LV87orABM``` |\t\n\n\u003c/p\u003e\t\n\n\n\n\n\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n\u003cimg width=\"160\" height=\"160\"  alt=\"XPanel\" src=\"https://github.com/iPmartNetwork/iPmart-SSH/blob/main/images/logo.png\"\u003e\n\u003c/picture\u003e\n  \u003c/p\u003e \n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipmartnetwork%2F6to4-gre6-multi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipmartnetwork%2F6to4-gre6-multi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipmartnetwork%2F6to4-gre6-multi/lists"}