Components
24
Twig Components
50
Render Count
60
ms
Render Time
16.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 16.0 MiB | 13.18 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } "isSingle" => true "showShortSentence" => false "showBody" => true ] |
|||
Attributes | [ "class" => "entry--single section--top" ] |
|||
Component | App\Twig\Components\EntryComponent {#2956 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2957 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +isSingle: true +showShortSentence: false +showBody: true +showMagazineName: false +canSeeTrash: false +newComments: 0 } |
user_inline | App\Twig\Components\UserInlineComponent | 16.0 MiB | 0.29 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3147 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 16.0 MiB | 0.22 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3217 +date: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 16.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } "editedAt" => DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3281 +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } } |
vote | App\Twig\Components\VoteComponent | 16.0 MiB | 0.43 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3346 +subject: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +formDest: "entry" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 16.0 MiB | 1.12 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#3412 +formDest: "entry" +subject: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entries_cross | App\Twig\Components\EntriesCrossComponent | 16.0 MiB | 0.33 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntriesCrossComponent {#3726 +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } -repository: App\Repository\EntryRepository {#270 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} } |
editor_toolbar | App\Twig\Components\EditorToolbarComponent | 16.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "id" => "entry_comment_687fbd3cbbc880.53850167_body" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EditorToolbarComponent {#3823 +id: "entry_comment_687fbd3cbbc880.53850167_body" } |
entry_comment | App\Twig\Components\EntryCommentComponent | 16.0 MiB | 10.02 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4053 +comment: App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 16.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4153 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 16.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4208 +date: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 16.0 MiB | 0.10 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4262 +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 16.0 MiB | 0.73 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4318 +width: 40 +height: 40 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 16.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4409 +subject: App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 16.0 MiB | 0.65 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4466 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 16.0 MiB | 0.82 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#4713 +comment: App\Entity\EntryComment {#4035 +user: App\Entity\User {#3983 +avatar: Proxies\__CG__\App\Entity\Image {#3984 …} +cover: Proxies\__CG__\App\Entity\Image {#3988 …} +email: "RxBrad@lemmy.today" +username: "@RxBrad@lemmy.today" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711497033 {#4043 : 2024-03-27 00:50:33.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3987 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3979 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3977 …} +entries: Doctrine\ORM\PersistentCollection {#3975 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3972 …} +entryComments: Doctrine\ORM\PersistentCollection {#3970 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3967 …} +posts: Doctrine\ORM\PersistentCollection {#3965 …} +postVotes: Doctrine\ORM\PersistentCollection {#3963 …} +postComments: Doctrine\ORM\PersistentCollection {#3960 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3958 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3956 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4099 …} +follows: Doctrine\ORM\PersistentCollection {#4095 …} +followers: Doctrine\ORM\PersistentCollection {#4084 …} +blocks: Doctrine\ORM\PersistentCollection {#4075 …} +blockers: Doctrine\ORM\PersistentCollection {#4064 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4101 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …} +reports: Doctrine\ORM\PersistentCollection {#4061 …} +favourites: Doctrine\ORM\PersistentCollection {#4088 …} +violations: Doctrine\ORM\PersistentCollection {#4091 …} +notifications: Doctrine\ORM\PersistentCollection {#4089 …} +awards: Doctrine\ORM\PersistentCollection {#4087 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4086 …} +categories: Doctrine\ORM\PersistentCollection {#4079 …} -id: 88527 -password: "$2y$13$6y4/V2EfNMoNS6qdQf8IXO/xFTAGjry8RAGyUJqvE2g5Na9q7dpRK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4073 …} +apId: "RxBrad@lemmy.today" +apProfileId: "https://lemmy.today/u/RxBrad" +apPublicUrl: "https://lemmy.today/u/RxBrad" +apFollowersUrl: null +apInboxUrl: "https://lemmy.today/inbox" +apDomain: "lemmy.today" +apPreferredUsername: "RxBrad" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1709747456 {#4039 : 2024-03-06 18:50:56.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1709747453 {#4037 : 2024-03-06 18:50:53.0 +01:00 } } +entry: App\Entity\Entry {#2400 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1889 …} +slug: "Issues-forwarding-traffic-through-a-wireguard-connection" +title: "Issues forwarding traffic through a wireguard connection" +url: null +body: """ I am attempting to follow this [procustodibus.com/…/wireguard-port-forward-from-i…](https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet) to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)\n \n After stopping rinetd, adding these rules to the public server’s wg config\n \n ```\n \n <span style="color:#323232;"># packet forwarding\n </span><span style="color:#323232;">PreUp = sysctl -w net.ipv4.ip_forward=1\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># port forwarding\n </span><span style="color:#323232;">PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination 10.144.65.2:8443\n </span><span style="color:#323232;">\n </span><span style="color:#323232;"># packet masquerading\n </span><span style="color:#323232;">PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE\n </span><span style="color:#323232;">PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE\n </span>\n ```\n \n and restarting the wg connection, I’m seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved [pastebin.com/0eNwhNKM](https://pastebin.com/0eNwhNKM) but I don’t really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I’m not sure.\n \n Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn’t include the latest version here [github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd) which *is* able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent. """ +type: "article" +lang: "en" +isOc: false +hasEmbed: false +commentCount: 1 +favouriteCount: 11 +score: 0 +isAdult: false +sticky: false +lastActive: DateTime @1711497033 {#2414 : 2024-03-27 00:50:33.0 +01:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1688 …} +votes: Doctrine\ORM\PersistentCollection {#1966 …} +reports: Doctrine\ORM\PersistentCollection {#1965 …} +favourites: Doctrine\ORM\PersistentCollection {#1368 …} +notifications: Doctrine\ORM\PersistentCollection {#2426 …} +badges: Doctrine\ORM\PersistentCollection {#2439 …} +children: [] -id: 27027 -titleTs: "'connect':7 'forward':2 'issu':1 'traffic':3 'wireguard':6" -bodyTs: "'/0enwhnkm](https://pastebin.com/0enwhnkm)':177 '/blog/2022/09/wireguard-port-forward-from-internet)':11 '/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':233 '/wireguard-port-forward-from-i':8 '1':83 '10.144.65.2':103,122 '443':97,116 '8443':104,123 'abl':236 'ad':66 'also':54 'attempt':3 'config':75 'conflict':171 'connect':34,150,222,240 'contain':243,252 'creat':202 'current':35 'd':109,140 'destin':102,121 'dnat':99,118 'docker':242,251 'doesn':224 'dport':96,115 'edit':211 'end':214 'enough':184 'ens3':93,112,157 'enter':161 'equival':262 'feel':166,194 'fix':191 'follow':5 'forward':13,52,57,77,82,85 'github.com':232 'github.com/samhocevar/rinetd](https://github.com/samhocevar/rinetd)':231 'go':187 'includ':226 'iptabl':87,106,127,137,172 'j':98,117,134,144 'know':183 'later':213 'latest':228 'like':167,195 'local':29 'look':45,55 'm':152,208 'make':254 'masquerad':125,135,145 'nat':89,108,129,139 'net.ipv4.ip':81 'none':160 'normal':49 'o':132,142 'one':201 'oracl':22 'p':94,113 'packet':76,124 'pastebin.com':176 'pastebin.com/0enwhnkm](https://pastebin.com/0enwhnkm)':175 'pivpn':204 'point':62 'port':18,26,84,158 'possibl':205 'postdown':105,136 'postrout':131,141 'prerout':91,110 'preup':78,86,126 'probabl':169,197 'procustodibus.com':7 'public':21,71 'realli':182 'redirect':256 'restart':147 'rinetd':41,65,218 'rough':261 'rule':68,173,200 'rxbrad':244 'save':174 'see':153 'server':30,72 'stop':64 'suggest':245 'sure':210 'sysctl':79 'tcp':95,114 'tcpdump':164 'to-destin':100,119 'traffic':14,53,59,154 'ubuntu':223 'udp':58,221,239 'use':40,217,246 'version':229,248 'via':163 'vps':23 'w':80 'way':50,212 'wg':74,149 'wg0':133,143,162 'what':186 'wireguard':33,199 'within':249 'www.procustodibus.com':10 'www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet)':9" +cross: false +upVotes: 0 +downVotes: 0 +ranking: 1704345698 +visibility: "visible " +apId: "https://lemmy.world/post/10283380" +editedAt: DateTimeImmutable @1727046721 {#1793 : 2024-09-23 01:12:01.0 +02:00 } +createdAt: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } +magazine: App\Entity\Magazine {#265} +image: null +parent: null +root: null +body: """ I’ve had good luck using this Docker container on both ends, using just a vanilla Ubuntu Oracle instance with the ports I need opened up.\n \n [github.com/…/docker-wireguard-tunnel](https://github.com/DigitallyRefined/docker-wireguard-tunnel) """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1704319347 {#4044 : 2024-01-03 23:02:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@sxt@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4033 …} +nested: Doctrine\ORM\PersistentCollection {#4031 …} +votes: Doctrine\ORM\PersistentCollection {#4029 …} +reports: Doctrine\ORM\PersistentCollection {#4027 …} +favourites: Doctrine\ORM\PersistentCollection {#3995 …} +notifications: Doctrine\ORM\PersistentCollection {#3999 …} -id: 278870 -bodyTs: "'/digitallyrefined/docker-wireguard-tunnel)':31 '/docker-wireguard-tunnel':28 'contain':9 'docker':8 'end':12 'github.com':27,30 'github.com/digitallyrefined/docker-wireguard-tunnel)':29 'good':4 'instanc':19 'luck':5 'need':24 'open':25 'oracl':18 'port':22 'ubuntu':17 'use':6,13 'vanilla':16 've':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.today/comment/4459474" +editedAt: null +createdAt: DateTimeImmutable @1704319347 {#3980 : 2024-01-03 23:02:27.0 +01:00 } } +nestedComments: [] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 16.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#4835 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4907 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#4970 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5026 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5085 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5141 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5197 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 16.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#5255 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5318 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 16.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#5376 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 16.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#5432 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 16.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#5488 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5544 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5600 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5656 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5712 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5768 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5824 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5880 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 16.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#5936 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#5994 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 16.0 MiB | 0.45 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#6071 +user: Proxies\__CG__\App\Entity\User {#1978 +avatar: null +cover: null +email: "sxt@lemmy.world" +username: "@sxt@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1711360812 {#1515 : 2024-03-25 11:00:12.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …} +entries: Doctrine\ORM\PersistentCollection {#1704 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …} +entryComments: Doctrine\ORM\PersistentCollection {#1706 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …} +posts: Doctrine\ORM\PersistentCollection {#1747 …} +postVotes: Doctrine\ORM\PersistentCollection {#1489 …} +postComments: Doctrine\ORM\PersistentCollection {#1762 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …} +follows: Doctrine\ORM\PersistentCollection {#1450 …} +followers: Doctrine\ORM\PersistentCollection {#1634 …} +blocks: Doctrine\ORM\PersistentCollection {#1416 …} +blockers: Doctrine\ORM\PersistentCollection {#1443 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …} +reports: Doctrine\ORM\PersistentCollection {#1427 …} +favourites: Doctrine\ORM\PersistentCollection {#1434 …} +violations: Doctrine\ORM\PersistentCollection {#1703 …} +notifications: Doctrine\ORM\PersistentCollection {#1693 …} +awards: Doctrine\ORM\PersistentCollection {#1431 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …} +categories: Doctrine\ORM\PersistentCollection {#1641 …} -id: 71825 -password: "$2y$13$XFKeFe6sN.fMTb/x.nWvf.7S2tziWDXdYMErsgC9huFy2ZflH9SR6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …} +apId: "sxt@lemmy.world" +apProfileId: "https://lemmy.world/u/sxt" +apPublicUrl: "https://lemmy.world/u/sxt" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "sxt" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1700961126 {#1516 : 2023-11-26 02:12:06.0 +01:00 } +apDeletedAt: DateTime @1704588058 {#1518 : 2024-01-07 01:40:58.0 +01:00 } +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1699176982 {#1519 : 2023-11-05 10:36:22.0 +01:00 } +__isInitialized__: true …2 } } |
date | App\Twig\Components\DateComponent | 16.0 MiB | 0.25 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6132 +date: DateTimeImmutable @1704316698 {#2402 : 2024-01-03 22:18:18.0 +01:00 } } |
magazine_box | App\Twig\Components\MagazineBoxComponent | 16.0 MiB | 14.76 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } "showSectionTitle" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineBoxComponent {#6188 +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } +showCover: true +showDescription: true +showRules: true +showSubscribeButton: true +showInfo: true +showMeta: true +showSectionTitle: true +stretchedLink: true } |
magazine_sub | App\Twig\Components\MagazineSubComponent | 16.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineSubComponent {#6246 +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } } |
date | App\Twig\Components\DateComponent | 16.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6406 +date: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } |
user_inline | App\Twig\Components\UserInlineComponent | 16.0 MiB | 0.73 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#6465 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#6512 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6514 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6516 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6518 …} +entries: Doctrine\ORM\PersistentCollection {#6520 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6522 …} +entryComments: Doctrine\ORM\PersistentCollection {#6524 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6526 …} +posts: Doctrine\ORM\PersistentCollection {#6528 …} +postVotes: Doctrine\ORM\PersistentCollection {#6530 …} +postComments: Doctrine\ORM\PersistentCollection {#6532 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6534 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6536 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6538 …} +follows: Doctrine\ORM\PersistentCollection {#6540 …} +followers: Doctrine\ORM\PersistentCollection {#6542 …} +blocks: Doctrine\ORM\PersistentCollection {#6544 …} +blockers: Doctrine\ORM\PersistentCollection {#6546 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6548 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6550 …} +reports: Doctrine\ORM\PersistentCollection {#6552 …} +favourites: Doctrine\ORM\PersistentCollection {#6554 …} +violations: Doctrine\ORM\PersistentCollection {#6556 …} +notifications: Doctrine\ORM\PersistentCollection {#6558 …} +awards: Doctrine\ORM\PersistentCollection {#6560 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6562 …} +categories: Doctrine\ORM\PersistentCollection {#6564 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6566 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#6513 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6483 +user: Proxies\__CG__\App\Entity\User {#6465 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#6512 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#6514 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#6516 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#6518 …} +entries: Doctrine\ORM\PersistentCollection {#6520 …} +entryVotes: Doctrine\ORM\PersistentCollection {#6522 …} +entryComments: Doctrine\ORM\PersistentCollection {#6524 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#6526 …} +posts: Doctrine\ORM\PersistentCollection {#6528 …} +postVotes: Doctrine\ORM\PersistentCollection {#6530 …} +postComments: Doctrine\ORM\PersistentCollection {#6532 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#6534 …} +subscriptions: Doctrine\ORM\PersistentCollection {#6536 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#6538 …} +follows: Doctrine\ORM\PersistentCollection {#6540 …} +followers: Doctrine\ORM\PersistentCollection {#6542 …} +blocks: Doctrine\ORM\PersistentCollection {#6544 …} +blockers: Doctrine\ORM\PersistentCollection {#6546 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#6548 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#6550 …} +reports: Doctrine\ORM\PersistentCollection {#6552 …} +favourites: Doctrine\ORM\PersistentCollection {#6554 …} +violations: Doctrine\ORM\PersistentCollection {#6556 …} +notifications: Doctrine\ORM\PersistentCollection {#6558 …} +awards: Doctrine\ORM\PersistentCollection {#6560 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#6562 …} +categories: Doctrine\ORM\PersistentCollection {#6564 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#6566 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#6513 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: true } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 16.0 MiB | 1.71 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "selfhosted@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#6674 +limit: 4 +tag: null +magazine: "selfhosted@lemmy.world" +type: "magazine" +title: "related_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#333 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 16.0 MiB | 0.72 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#6761 +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 16.0 MiB | 1.49 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "selfhosted@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#6820 +limit: 4 +tag: null +magazine: "selfhosted@lemmy.world" +type: "related" +title: "related_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#6821 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 16.0 MiB | 2.74 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "selfhosted@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#6891 +limit: 4 +tag: null +magazine: "selfhosted@lemmy.world" +type: "magazine" +post: null +title: "related_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#6890 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#389 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 16.0 MiB | 5.26 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "selfhosted@lemmy.world" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#6960 +limit: 4 +tag: null +magazine: "selfhosted@lemmy.world" +type: "magazine" +entry: null +title: "related_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#270 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#389 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 16.0 MiB | 3.32 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#7029 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#7030 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 16.0 MiB | 2.91 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#7118 +magazine: App\Entity\Magazine {#265 +icon: Proxies\__CG__\App\Entity\Image {#246 …} +name: "selfhosted@lemmy.world" +title: "selfhosted" +description: """ A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n \n Rules:\n \n - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n - No spam posting.\n - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n - No trolling.\n \n Resources:\n \n - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n \n > Any issues on the community? Report it using the report flag.\n \n > Questions? DM the mods! """ +rules: null +subscriptionsCount: 1 +entryCount: 222 +entryCommentCount: 3916 +postCount: 0 +postCommentCount: 0 +isAdult: false +customCss: null +lastActive: DateTime @1729582735 {#275 : 2024-10-22 09:38:55.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#237 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …} +entries: Doctrine\ORM\PersistentCollection {#180 …} +posts: Doctrine\ORM\PersistentCollection {#138 …} +subscriptions: Doctrine\ORM\PersistentCollection {#200 …} +bans: Doctrine\ORM\PersistentCollection {#117 …} +reports: Doctrine\ORM\PersistentCollection {#103 …} +badges: Doctrine\ORM\PersistentCollection {#81 …} +logs: Doctrine\ORM\PersistentCollection {#71 …} +awards: Doctrine\ORM\PersistentCollection {#1346 …} +categories: Doctrine\ORM\PersistentCollection {#1823 …} -id: 120 +apId: "selfhosted@lemmy.world" +apProfileId: "https://lemmy.world/c/selfhosted" +apPublicUrl: "https://lemmy.world/c/selfhosted" +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers" +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "selfhosted" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1703473826 {#269 : 2023-12-25 04:10:26.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1703473826 {#271 : 2023-12-25 04:10:26.0 +01:00 } } -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#333 …} } |